From: gfleury <gfle...@disroot.org> Message-ID: <20250815181500.107433-20-gfle...@disroot.org> --- htl/Makefile | 2 +- htl/Versions | 1 + htl/pt-internal.h | 1 + sysdeps/htl/pt-startup.c | 1 + 4 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/htl/Makefile b/htl/Makefile index 995bcefbfc..ec48f8b91a 100644 --- a/htl/Makefile +++ b/htl/Makefile @@ -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 \ diff --git a/htl/Versions b/htl/Versions index 31456186c8..5570a2b631 100644 --- a/htl/Versions +++ b/htl/Versions @@ -276,6 +276,7 @@ libc { __pthread_sigstate_destroy; __pthread_sigmask; __pthread_stack_alloc; + __pthread_startup; __pthread_testcancel; __pthread_timedblock; __pthread_timedblock_intr; diff --git a/htl/pt-internal.h b/htl/pt-internal.h index f816aca282..1bab90cf93 100644 --- a/htl/pt-internal.h +++ b/htl/pt-internal.h @@ -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); diff --git a/sysdeps/htl/pt-startup.c b/sysdeps/htl/pt-startup.c index 6e41d458df..ce21a51885 100644 --- a/sysdeps/htl/pt-startup.c +++ b/sysdeps/htl/pt-startup.c @@ -22,3 +22,4 @@ void __pthread_startup (void) { } +libc_hidden_def (__pthread_startup) -- 2.47.2