91 Commits (9d44b6460ab603487dab4d916342d9ba4467e6b9)

Author SHA1 Message Date
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
Rich Felker bc6a35fb7b partial TLS support for dynamic-linked programs 14 years ago
Rich Felker 8431d7972f TLS (GNU/C11 thread-local storage) support for static-linked programs 14 years ago
Rich Felker 731e8ffdcf ensure canary is setup if stack-prot libs are dlopen'd into non-ssp app 14 years ago
Rich Felker e1b9c1b01b save AT_HWCAP from auxv for subsequent use in machine-specific code 14 years ago
Rich Felker 1dd6eee692 direct syscall to open in __init_security needs O_LARGEFILE 14 years ago
Rich Felker 7e310e591e fix missing static (namespace clash) 14 years ago
Rich Felker 58aa5f45ed overhaul SSP support to use a real canary 14 years ago
Rich Felker 63374ee233 make stack protector work with gcc configured for non-tls canary 14 years ago
Rich Felker 60872cf9c9 first attempt at enabling stack protector support 14 years ago
Rich Felker 291666a14a bring back ___environ symbol (3 underscores) 15 years ago
Rich Felker df0b5a4940 security hardening: ensure suid programs have valid stdin/out/err 15 years ago
Rich Felker 649af9f73a fix for setenv bogus var argument handling 15 years ago
Rich Felker 92bd4c6031 add startup abi functions, dummy for now. eventually needed for c++ support. 15 years ago
Rich Felker 0b44a0315b initial check-in, version 0.5.0 15 years ago