musl/ldso
Rich Felker 1c84c99913 add new stage 2b to dynamic linker bootstrap for thread pointer
commit a603a75a72 removed attribute
const from __errno_location and pthread_self, and the same reasoning
forced arch definitions of __pthread_self to use volatile asm,
significantly impacting code generation and imposing manual caching of
pointers where the impact might be noticable.

reorder the thread pointer setup and place it across a strong barrier
(symbolic function lookup) so that there is no assumed ordering
between the initialization and the accesses to the thread pointer in
stage 3.
2018-10-16 13:50:28 -04:00
..
dlstart.c define and use internal macros for hidden visibility, weak refs 2018-09-05 14:05:14 -04:00
dynlink.c add new stage 2b to dynamic linker bootstrap for thread pointer 2018-10-16 13:50:28 -04:00