|author||Rich Felker <email@example.com>||2015-04-13 18:40:52 -0400|
|committer||Rich Felker <firstname.lastname@example.org>||2015-04-13 18:47:17 -0400|
move thread pointer setup to beginning of dynamic linker stage 3
this allows the dynamic linker itself to run with a valid thread pointer, which is a prerequisite for stack protector on archs where the ssp canary is stored in TLS. it will also allow us to remove some remaining runtime checks for whether the thread pointer is valid. as long as the application and its libraries do not require additional size or alignment, this early thread pointer will be kept and reused at runtime. otherwise, a new static TLS block is allocated after library loading has finished and the thread pointer is switched over.
Diffstat (limited to 'src/thread/pthread_setcancelstate.c')
0 files changed, 0 insertions, 0 deletions