Rich Felker
|
57f6e85c9d
remove redundant pthread struct members repeated for layout purposes
|
4 years ago |
Szabolcs Nagy
|
a60b9e0686
fix tls offsets when p_vaddr%p_align != 0 on TLS_ABOVE_TP targets
|
6 years ago |
Rich Felker
|
22e5bbd0de
overhaul i386 syscall mechanism not to depend on external asm source
|
6 years ago |
Rich Felker
|
8f11e6127f
track all live threads in an AS-safe, fully-consistent linked list
|
6 years ago |
Rich Felker
|
b6d701a475
combine arch ABI's DTP_OFFSET into DTV pointers
|
6 years ago |
Rich Felker
|
7b3348a98c
support setting of default thread stack size via PT_GNU_STACK header
|
6 years ago |
Rich Felker
|
9b95fd0944
define and use internal macros for hidden visibility, weak refs
|
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
|
cdba6b2562
improve joinable/detached thread state handling
|
7 years ago |
Rich Felker
|
9e2d820a55
use a dedicated futex object for pthread_join instead of tid field
|
7 years ago |
Rich Felker
|
5bf7eba213
fix support for initialized TLS in static PIE binaries
|
8 years ago |
Rich Felker
|
d56460c939
unify static and dynamic linked implementations of thread-local storage
|
9 years ago |
Rich Felker
|
abead1be6d
fix misalignment of dtv in static-linked programs with odd-sized TLS
|
10 years ago |
Rich Felker
|
23129ab8d5
remove dead store from static __init_tls
|
10 years ago |
Rich Felker
|
5f51d52915
make __init_tp function static when static linking
|
10 years ago |
Rich Felker
|
c267fb849f
remove useless visibility application from static-linking-only code
|
10 years ago |
Rich Felker
|
19a1fe670a
remove remnants of support for running in no-thread-pointer mode
|
10 years ago |
Rich Felker
|
4e98cce1c5
optimize out setting up robust list with kernel when not needed
|
10 years ago |
Szabolcs Nagy
|
204a69d2d9
copy the dtv pointer to the end of the pthread struct for TLS_ABOVE_TP archs
|
10 years ago |
Rich Felker
|
bd67959f3a
fix over-alignment of TLS, insufficient builtin TLS on 64-bit archs
|
10 years ago |
Szabolcs Nagy
|
d86af2a080
fix #ifdef inside a macro argument list in __init_tls.c
|
10 years ago |
Rich Felker
|
83dc6eb087
eliminate use of cached pid from thread structure
|
10 years ago |
Rich Felker
|
0bc03091bb
add locale framework
|
10 years ago |
Rich Felker
|
5ba238e1e4
separate __tls_get_addr implementation from dynamic linker/init_tls
|
11 years ago |
Rich Felker
|
ac31bf278d
simplify errno implementation
|
11 years ago |
Rich Felker
|
64e32287f9
add thread-pointer support for pre-2.6 kernels on i386
|
11 years ago |
Rich Felker
|
7e8b0761e5
remove some cruft from libc/tls init code
|
11 years ago |
Rich Felker
|
561e0a0968
remove cruft left behind when lazy thread pointer init was removed
|
11 years ago |
Rich Felker
|
dab441aea2
always initialize thread pointer at program start
|
11 years ago |
Rich Felker
|
98221c3611
reduce static linking overhead from TLS support by inlining mmap syscall
|
11 years ago |