mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
nptl: Move pthread_atfork to libc_nonshared.a
libpthread_nonshared.a is unused after this, so remove it from the build. There is no ABI impact because pthread_atfork was implemented using __register_atfork in libc even before this change. pthread_atfork has to be a weak alias because pthread_* names are not reserved in libc. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@ -53,5 +53,5 @@ __pthread_atfork (void (*prepare) (void), void (*parent) (void),
|
||||
#ifndef __pthread_atfork
|
||||
extern int pthread_atfork (void (*prepare) (void), void (*parent) (void),
|
||||
void (*child) (void)) attribute_hidden;
|
||||
strong_alias (__pthread_atfork, pthread_atfork)
|
||||
weak_alias (__pthread_atfork, pthread_atfork)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user