about summary refs log tree commit diff
path: root/sysdeps/nptl
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-03-01 08:18:27 +0100
committerFlorian Weimer <fweimer@redhat.com>2018-03-01 08:18:48 +0100
commitbd60ce86520b781ca24b99b2555e2ad389bbfeaa (patch)
tree0e973a03c6602fed73064d9827a1cdbaedab51e5 /sysdeps/nptl
parente2bcf6a8551c6b6a7eeed8f84be42b29eef4d0e2 (diff)
downloadglibc-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 'sysdeps/nptl')
-rw-r--r--sysdeps/nptl/Makeconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/nptl/Makeconfig b/sysdeps/nptl/Makeconfig
index 5595f356b1..ce8998bbf5 100644
--- a/sysdeps/nptl/Makeconfig
+++ b/sysdeps/nptl/Makeconfig
@@ -21,8 +21,7 @@
 
 have-thread-library = yes
 
-shared-thread-library = $(common-objpfx)nptl/libpthread_nonshared.a \
-			$(common-objpfx)nptl/libpthread.so
+shared-thread-library = $(common-objpfx)nptl/libpthread.so
 static-thread-library = $(common-objpfx)nptl/libpthread.a
 
 rpath-dirs += nptl