mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-26 04:31:03 +00:00
8a26ad2ab7
All binaries use TLS and thus need a properly set up TCB, so we can simply return its address directly, instead of forwarding to the libpthread implementation from libc. For versioned symbols, the dynamic linker checks that the soname matches the name supplied by the link editor, so a compatibility symbol in libpthread is needed. To avoid linking against the libpthread function in all cases, we would have to bump the symbol version of libpthread in libc.so and supply a compat symbol. This commit does not do that because the function implementation is so small, so the overhead by two active copies of the same function might well be smaller than the increase in symbol table size. |
||
---|---|---|
.. | ||
bits | ||
sys | ||
aio_misc.h | ||
allocrtsig.c | ||
fork.c | ||
fork.h | ||
futex-internal.h | ||
gai_misc.h | ||
Implies | ||
internaltypes.h | ||
jmp-unwind.c | ||
libc-lock.h | ||
libc-lockP.h | ||
librt-cancellation.c | ||
lowlevellock-futex.h | ||
lowlevellock.h | ||
Makeconfig | ||
Makefile | ||
malloc-machine.h | ||
nptl-signals.h | ||
pthread-functions.h | ||
pthread.h | ||
setxid.h | ||
shm-directory.h | ||
sigfillset.c | ||
stdio-lock.h | ||
Subdirs | ||
tcb-offsets.h | ||
tst-mqueue8x.c | ||
unwind-forcedunwind.c |