64 Commits (16bf466532d7328e971012b0731ad493b017ad29)

Author SHA1 Message Date
Rich Felker 484194dbf4 fix stack protector crashes on x32 & powerpc due to misplaced TLS canary 11 years ago
Rich Felker abead1be6d fix misalignment of dtv in static-linked programs with odd-sized TLS 11 years ago
Rich Felker 23129ab8d5 remove dead store from static __init_tls 11 years ago
Rich Felker 5f51d52915 make __init_tp function static when static linking 11 years ago
Rich Felker f203b3511f fix inconsistent visibility for __hwcap and __sysinfo symbols 11 years ago
Rich Felker c267fb849f remove useless visibility application from static-linking-only code 11 years ago
Rich Felker 1ef849c6ec allow libc itself to be built with stack protector enabled 11 years ago
Rich Felker 19a1fe670a remove remnants of support for running in no-thread-pointer mode 11 years ago
Rich Felker 4e98cce1c5 optimize out setting up robust list with kernel when not needed 11 years ago
Szabolcs Nagy 204a69d2d9 copy the dtv pointer to the end of the pthread struct for TLS_ABOVE_TP archs 11 years ago
Rich Felker bd67959f3a fix over-alignment of TLS, insufficient builtin TLS on 64-bit archs 11 years ago
Szabolcs Nagy d86af2a080 fix #ifdef inside a macro argument list in __init_tls.c 12 years ago
Rich Felker 83dc6eb087 eliminate use of cached pid from thread structure 12 years ago
Rich Felker 0bc03091bb add locale framework 12 years ago
Rich Felker 285f969db6 fix typo in a comment in __libc_start_main 12 years ago
Rich Felker 5ba238e1e4 separate __tls_get_addr implementation from dynamic linker/init_tls 12 years ago
Rich Felker ac31bf278d simplify errno implementation 12 years ago
Rich Felker 64e32287f9 add thread-pointer support for pre-2.6 kernels on i386 12 years ago
Rich Felker dd5f50da6f support linux kernel apis (new archs) with old syscalls removed 12 years ago
Rich Felker 594c827a22 support kernels with no SYS_open syscall, only SYS_openat 12 years ago
Rich Felker 3176b57e52 make __init_libc static for non-shared libc 12 years ago
Rich Felker fbcfed7c2d further micro-optimize startup code for size 12 years ago
Rich Felker 9b52ab1c9a micro-optimize some startup code for size 12 years ago
Rich Felker 7e8b0761e5 remove some cruft from libc/tls init code 12 years ago
Rich Felker 561e0a0968 remove cruft left behind when lazy thread pointer init was removed 12 years ago
Timo Teräs 2b74315d8a remove lazy ssp initialization 12 years ago
Rich Felker dab441aea2 always initialize thread pointer at program start 12 years ago
Rich Felker 98221c3611 reduce static linking overhead from TLS support by inlining mmap syscall 12 years ago
Szabolcs Nagy 571744447c include cleanups: remove unused headers and add feature test macros 13 years ago
Szabolcs Nagy 4405702a41 remove errno setting from setenv, malloc sets it correctly on oom 13 years ago
Rich Felker 5437870390 fix failure to check malloc result in setenv 13 years ago
Szabolcs Nagy b20760c023 support configurable page size on mips, powerpc and microblaze 13 years ago
Rich Felker 7c6c290695 add system for resetting TLS to initial values 13 years ago
Rich Felker 3edfd07073 remove __libc_csu_* cruft 13 years ago
Rich Felker 7586360bad add support for init/fini array in main program, and greatly simplify 13 years ago
Rich Felker f1292e3d28 fix omission of dtv setup in static linked programs on TLS variant I archs 13 years ago
Rich Felker b4ea63856a add support for program_invocation[_short]_name 13 years ago
Rich Felker f78cdbe899 remove unused #undef environ now that libc.h no longer #defines it 13 years ago
Rich Felker e172c7b4df fix reference to libc struct in static tls init code 14 years ago
Rich Felker a7936f61b2 fix ordering of shared library ctors with respect to libc init 14 years ago
Rich Felker efd4d87aa4 clean up sloppy nested inclusion from pthread_impl.h 14 years ago
Rich Felker 3a5aa8e49c fix unused variable warnings 14 years ago
Rich Felker 31a55f233b as an extension, have putenv("VAR") behave as unsetenv("VAR") 14 years ago
Rich Felker ebee8c2b47 fix crashes in static-linked multithreaded programs without TLS 14 years ago
Rich Felker 9ec4283b28 add support for TLS variant I, presently needed for arm and mips 14 years ago
Rich Felker 12e9b4faf6 i386 vsyscall support (vdso-provided sysenter/syscall instruction based) 14 years ago
Rich Felker f2b1f1af83 ensure that buffer for decoding auxv at startup is initially zero 14 years ago
Rich Felker 0a96a37f06 clean up and refactor program initialization 14 years ago
Rich Felker 6a2eaa3c5b fix buggy TLS size/alignment computations in static-linked TLS 14 years ago
Rich Felker dcd6037150 support for TLS in dynamic-loaded (dlopen) modules 14 years ago