nptl: Move pthread_atfork to libc_nonshared.a
authorFlorian Weimer <fweimer@redhat.com>
Thu, 1 Mar 2018 07:18:27 +0000 (08:18 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 1 Mar 2018 07:18:48 +0000 (08:18 +0100)
commitbd60ce86520b781ca24b99b2555e2ad389bbfeaa
tree0e973a03c6602fed73064d9827a1cdbaedab51e5
parente2bcf6a8551c6b6a7eeed8f84be42b29eef4d0e2
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>
ChangeLog
nptl/Makefile
nptl/pthread_atfork.c
sysdeps/nptl/Makeconfig