]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: move __pthread_startup into libc.
authorgfleury <gfleury@disroot.org>
Fri, 15 Aug 2025 18:15:00 +0000 (20:15 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 15 Aug 2025 23:44:51 +0000 (01:44 +0200)
Message-ID: <20250815181500.107433-20-gfleury@disroot.org>

htl/Makefile
htl/Versions
htl/pt-internal.h
sysdeps/htl/pt-startup.c

index 995bcefbfc407eccf7da270dca9dc06376633fd5..ec48f8b91af2a73231f4a878f759c237216b2bd9 100644 (file)
@@ -30,7 +30,6 @@ libpthread-routines := \
   pt-spin-inlines \
   pt-hurd-cond-wait \
   pt-hurd-cond-timedwait \
-  pt-startup \
   pt-sysdep \
   pt-spin \
   pt-getname-np \
@@ -203,6 +202,7 @@ routines := \
   pt-sigstate-destroy \
   pt-sigstate-init \
   pt-stack-alloc \
+  pt-startup \
   pt-testcancel \
   pt-thread-alloc \
   pt-thread-start \
index 31456186c81fc1a9f1be19473fd13f1887fa7096..5570a2b6317550d2372cfdc28e07dc1356e3aec5 100644 (file)
@@ -276,6 +276,7 @@ libc {
     __pthread_sigstate_destroy;
     __pthread_sigmask;
     __pthread_stack_alloc;
+    __pthread_startup;
     __pthread_testcancel;
     __pthread_timedblock;
     __pthread_timedblock_intr;
index f816aca2821da252f7f093e135eccf97d27e9dc0..1bab90cf933e513906cf8f908da38380ee08b9c6 100644 (file)
@@ -270,6 +270,7 @@ libc_hidden_proto (__pthread_thread_terminate)
 /* Called by a thread just before it calls the provided start
    routine.  */
 extern void __pthread_startup (void);
+libc_hidden_proto (__pthread_startup)
 
 /* Block THREAD.  */
 extern void __pthread_block (struct __pthread *thread);
index 6e41d458dfae584149efeada17e2abfcf899d580..ce21a5188598d59bd132ae1fc7e73d9af1511bb3 100644 (file)
@@ -22,3 +22,4 @@ void
 __pthread_startup (void)
 {
 }
+libc_hidden_def (__pthread_startup)