htl: move __pthread_startup into libc.

Message-ID: <20250815181500.107433-20-gfleury@disroot.org>
This commit is contained in:
gfleury 2025-08-15 20:15:00 +02:00 committed by Samuel Thibault
parent 80412aee3e
commit 35296a6e73
4 changed files with 4 additions and 1 deletions

View 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 \

View File

@ -276,6 +276,7 @@ libc {
__pthread_sigstate_destroy;
__pthread_sigmask;
__pthread_stack_alloc;
__pthread_startup;
__pthread_testcancel;
__pthread_timedblock;
__pthread_timedblock_intr;

View 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);

View File

@ -22,3 +22,4 @@ void
__pthread_startup (void)
{
}
libc_hidden_def (__pthread_startup)