mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
x86: Use sysdep.o from libc.a in static libraries
Static libraries can use the sysdep.o copy in libc.a without a performance penalty. This results in a visible difference if libpthread.a is relinked into a single object file (which is needed to support libraries which check for the presence of certain symbols to enable threading support, which generally fails with static linking unless libpthread.a is relinked).
This commit is contained in:
parent
146f208da6
commit
e67330ab57
@ -1,3 +1,10 @@
|
||||
2016-08-04 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
Use sysdep.o from libc.a in static libraries.
|
||||
* sysdeps/unix/sysv/linux/i386/Makefile
|
||||
(libpthread-shared-only-routines): Add sysdep.
|
||||
(librt-shared-only-routines): Likewise.
|
||||
|
||||
2016-08-03 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* math/tgmath.h (nextdown): Define if
|
||||
|
@ -48,9 +48,11 @@ endif
|
||||
ifeq ($(subdir),nptl)
|
||||
# pull in __syscall_error routine
|
||||
libpthread-routines += sysdep
|
||||
libpthread-shared-only-routines += sysdep
|
||||
endif
|
||||
|
||||
ifeq ($(subdir),rt)
|
||||
# pull in __syscall_error routine
|
||||
librt-routines += sysdep
|
||||
librt-shared-only-routines += sysdep
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user