From: Samuel Thibault Date: Wed, 19 Nov 2025 19:16:18 +0000 (+0100) Subject: htl: Move pthread_atfork compatibility symbol to libc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff92750112e782300ff455c13d9bb0ae1603aa65;p=thirdparty%2Fglibc.git htl: Move pthread_atfork compatibility symbol to libc There is no new symbol version because of the compatibility symbol status. --- 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 \