Rich Felker
|
9b83182069
fix inadvertent use of uninitialized variable in dladdr
|
5 years ago |
Rich Felker
|
54b7564b72
remove unnecessary and problematic _Noreturn from crt/ldso startup
|
5 years ago |
Szabolcs Nagy
|
a60b9e0686
fix tls offsets when p_vaddr%p_align != 0 on TLS_ABOVE_TP targets
|
5 years ago |
Szabolcs Nagy
|
6104dae908
fix static tls offsets of shared libs on TLS_ABOVE_TP targets
|
5 years ago |
Fangrui Song
|
f450c150d3
remove unused struct dso members from dynlink.c
|
5 years ago |
Rich Felker
|
22e5bbd0de
overhaul i386 syscall mechanism not to depend on external asm source
|
6 years ago |
Ilya Matveychikov
|
7784680072
fix the use of syscall result in dl_mmap
|
6 years ago |
Ray
|
086a12b920
delete a redundant if in dynamic linker ctor execution loop
|
6 years ago |
Rich Felker
|
50cd02386b
fix invalid-/double-/use-after-free in new dlopen ctor execution
|
6 years ago |
Rich Felker
|
43e7efb465
avoid malloc of ctor queue for programs with no external deps
|
6 years ago |
Rich Felker
|
f034f145bd
avoid malloc of deps arrays for ldso and vdso
|
6 years ago |
Rich Felker
|
e612d094b1
avoid malloc of deps array for programs with no external deps
|
6 years ago |
Rich Felker
|
2f1f51ae7b
fix malloc misuse for startup ctor queue, breakage on fdpic archs
|
6 years ago |
Rich Felker
|
8e43b5613e
synchronize shared library dtor exec against concurrent loads/ctors
|
6 years ago |
Rich Felker
|
188759bbee
overhaul shared library ctor execution for dependency order, concurrency
|
6 years ago |
Rich Felker
|
88207361ea
record preloaded libraries as direct pseudo-dependencies of main app
|
6 years ago |
Rich Felker
|
0c5c8f5da6
fix unsafety of new ldso dep tracking in presence of malloc replacement
|
6 years ago |
Rich Felker
|
4035556907
fix and overhaul dlsym depedency order, always record direct deps
|
6 years ago |
Rich Felker
|
71db5dfaa9
fix crash/misbehavior from oob read in new dynamic tls installation
|
6 years ago |
Rich Felker
|
6516282d2a
fix crash in new dynamic tls installation when last dep lacks tls
|
6 years ago |
Rich Felker
|
ba18c1ecc6
add membarrier syscall wrapper, refactor dynamic tls install to use it
|
6 years ago |
Rich Felker
|
609dd57c4e
fix loop logic cruft in dynamic tls installation
|
6 years ago |
Rich Felker
|
9d44b6460a
install dynamic tls synchronously at dlopen, streamline access
|
6 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 |