summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-11-19 20:16:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-11-21 00:29:44 +0100
commitff92750112e782300ff455c13d9bb0ae1603aa65 (patch)
tree765067c4d04bbfe7f664b93664283b4ffb44a460
parentb36a126f7d5ac7061e24ad97191bb9428b6b251f (diff)
htl: Move pthread_atfork compatibility symbol to libc
There is no new symbol version because of the compatibility symbol status.
-rw-r--r--htl/Versions4
-rw-r--r--sysdeps/mach/hurd/i386/libc.abilist1
-rw-r--r--sysdeps/mach/hurd/i386/libpthread.abilist1
-rw-r--r--sysdeps/pthread/Makefile2
4 files changed, 4 insertions, 4 deletions
diff --git a/htl/Versions b/htl/Versions
index 25b79f0824..2228f8fdd9 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -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;
diff --git a/sysdeps/mach/hurd/i386/libc.abilist b/sysdeps/mach/hurd/i386/libc.abilist
index 032ef39d22..dbbb399feb 100644
--- a/sysdeps/mach/hurd/i386/libc.abilist
+++ b/sysdeps/mach/hurd/i386/libc.abilist
@@ -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
diff --git a/sysdeps/mach/hurd/i386/libpthread.abilist b/sysdeps/mach/hurd/i386/libpthread.abilist
index 75636d8478..ff9c273218 100644
--- a/sysdeps/mach/hurd/i386/libpthread.abilist
+++ b/sysdeps/mach/hurd/i386/libpthread.abilist
@@ -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
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile
index 1a6e835efc..1da3a9f55f 100644
--- a/sysdeps/pthread/Makefile
+++ b/sysdeps/pthread/Makefile
@@ -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 \