Rich Felker
|
ba18c1ecc6
add membarrier syscall wrapper, refactor dynamic tls install to use it
|
5 years ago |
Rich Felker
|
609dd57c4e
fix loop logic cruft in dynamic tls installation
|
5 years ago |
Rich Felker
|
9d44b6460a
install dynamic tls synchronously at dlopen, streamline access
|
5 years ago |
Rich Felker
|
1c84c99913
add new stage 2b to dynamic linker bootstrap for thread pointer
|
6 years ago |
Rich Felker
|
b36c37f6fa
fix misleading placement of statement on same line as for loop in ldso
|
6 years ago |
Rich Felker
|
37cd167639
fix dlsym of thread-local symbols on archs with DTP_OFFSET!=0
|
6 years ago |
Rich Felker
|
b6d701a475
combine arch ABI's DTP_OFFSET into DTV pointers
|
6 years ago |
Rich Felker
|
0beb9dfbec
add TLSDESC support for 32-bit arm
|
6 years ago |
Rich Felker
|
7b3348a98c
support setting of default thread stack size via PT_GNU_STACK header
|
6 years ago |
Rich Felker
|
13d1afa46f
overhaul internally-public declarations using wrapper headers
|
6 years ago |
Rich Felker
|
1bbe166e15
move tlsdesc and internal dl function declarations to dynlink.h
|
6 years ago |
Rich Felker
|
91c6a187b8
move declarations of tls setup/access functions to pthread_impl.h
|
6 years ago |
Rich Felker
|
55a1c9c890
move declarations for malloc internals to malloc_impl.h
|
6 years ago |
Rich Felker
|
18bf0829a7
improve machinery for ldso to report libc version
|
6 years ago |
Rich Felker
|
9b95fd0944
define and use internal macros for hidden visibility, weak refs
|
6 years ago |
Rich Felker
|
5c2f46a214
block dlopen of libraries with initial-exec refs to dynamic TLS
|
6 years ago |
Rich Felker
|
5fdccbcd8f
fix inefficient choice of tlsdesc function due to off-by-one
|
6 years ago |
Rich Felker
|
193338e619
avoid spurious dso matches by dladdr outside bounds of load segments
|
6 years ago |
Rich Felker
|
f6870d6b4f
make dladdr consistently produce the first symbol in presence of aliases
|
6 years ago |
Rich Felker
|
c8b49b2fbc
fix symtab-order-dependent spurious matches in dladdr
|
6 years ago |
Rich Felker
|
8b8fb7f037
correctly handle non-matching symbols in dladdr
|
6 years ago |
Rich Felker
|
e829695fcc
avoid using undefined pointer arithmetic in dladdr
|
6 years ago |
Rich Felker
|
68a5a23abc
fix dynamic linker mapping/clearing bss in first/only LOAD segment
|
6 years ago |
Szabolcs Nagy
|
610c5a8524
fix TLS layout of TLS variant I when there is a gap above TP
|
6 years ago |
Rich Felker
|
b4b1e10364
reintroduce hardening against partially-replaced allocator
|
6 years ago |
Rich Felker
|
d610c14855
enable reclaim_gaps for fdpic
|
6 years ago |
Alexander Monakov
|
ce7ae11acf
ldso, malloc: implement reclaim_gaps via __malloc_donate
|
6 years ago |
Rich Felker
|
376b3c54bb
disallow non-absolute rpath $ORIGIN for suid/sgid/AT_SECURE processes
|
6 years ago |
Rich Felker
|
f0b235c138
honor rpath $ORIGIN for ldd/ldso command with program in working dir
|
6 years ago |
Rich Felker
|
b3ae7beabb
adjust dladdr dli_fbase definition to match other implementations
|
6 years ago |