]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: Move pthread_atfork compatibility symbol to libc
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 19 Nov 2025 19:16:18 +0000 (20:16 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 20 Nov 2025 23:29:44 +0000 (00:29 +0100)
There is no new symbol version because of the compatibility symbol
status.

htl/Versions
sysdeps/mach/hurd/i386/libc.abilist
sysdeps/mach/hurd/i386/libpthread.abilist
sysdeps/pthread/Makefile

index 25b79f0824a6d22ed62438bab7e8fb4503b9f98a..2228f8fdd9958fdf9edf693984a8ca6ad196f7b3 100644 (file)
@@ -8,6 +8,7 @@ libc {
     __pthread_kill;
     __pthread_mutex_transfer_np;
     __pthread_self;
+    pthread_atfork;
     pthread_attr_getdetachstate;
     pthread_attr_getinheritsched;
     pthread_attr_getschedparam;
@@ -342,9 +343,8 @@ libpthread {
   GLIBC_2.2.6 {
     __libpthread_version_placeholder;
   }
-
   GLIBC_2.12 {
-    pthread_atfork;
+    __libpthread_version_placeholder;
   }
   GLIBC_2.21 {
     __libpthread_version_placeholder;
index 032ef39d22033e193c5f1aae3be6d82dd8759e40..dbbb399febe442d810d9a737ebe99d6ae0ecb08f 100644 (file)
@@ -36,6 +36,7 @@ GLIBC_2.12 __pthread_self F
 GLIBC_2.12 flockfile F
 GLIBC_2.12 ftrylockfile F
 GLIBC_2.12 funlockfile F
+GLIBC_2.12 pthread_atfork F
 GLIBC_2.12 pthread_attr_destroy F
 GLIBC_2.12 pthread_attr_getdetachstate F
 GLIBC_2.12 pthread_attr_getguardsize F
index 75636d84785a87215fc2d2aa8fe9608cc4fd7539..ff9c27321816392a676d94977b4b92470769a85a 100644 (file)
@@ -1,4 +1,3 @@
-GLIBC_2.12 pthread_atfork F
 GLIBC_2.32 call_once F
 GLIBC_2.32 cnd_broadcast F
 GLIBC_2.32 cnd_destroy F
index 1a6e835efc3128d948755b9a254fa924b7359a65..1da3a9f55f2fa2605c31d0244a37e0b0015b57ca 100644 (file)
@@ -27,6 +27,7 @@ headers += \
 
 routines += \
   pthread_atfork \
+  pthread_atfork_compat \
   thrd_current \
   thrd_equal \
   thrd_sleep \
@@ -47,7 +48,6 @@ $(libpthread-routines-var) += \
   mtx_timedlock \
   mtx_trylock \
   mtx_unlock \
-  pthread_atfork_compat \
   thrd_create \
   thrd_detach \
   thrd_exit \