diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-03-01 08:18:27 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-03-01 08:18:48 +0100 |
commit | bd60ce86520b781ca24b99b2555e2ad389bbfeaa (patch) | |
tree | 0e973a03c6602fed73064d9827a1cdbaedab51e5 /nptl/pthread_atfork.c | |
parent | e2bcf6a8551c6b6a7eeed8f84be42b29eef4d0e2 (diff) | |
download | glibc-bd60ce86520b781ca24b99b2555e2ad389bbfeaa.tar.gz glibc-bd60ce86520b781ca24b99b2555e2ad389bbfeaa.tar.xz glibc-bd60ce86520b781ca24b99b2555e2ad389bbfeaa.zip |
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>
Diffstat (limited to 'nptl/pthread_atfork.c')
-rw-r--r-- | nptl/pthread_atfork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_atfork.c b/nptl/pthread_atfork.c index 1c4ba23b8a..5ac62bf879 100644 --- a/nptl/pthread_atfork.c +++ b/nptl/pthread_atfork.c @@ -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 |