Skip to content
Commit 7cbf1c84 authored by Florian Weimer's avatar Florian Weimer
Browse files

elf, nptl: Initialize static TLS directly in ld.so

The stack list is available in ld.so since commit
1daccf40 ("nptl: Move stack list
variables into _rtld_global"), so it's possible to walk the stack
list directly in ld.so and perform the initialization there.

This eliminates an unprotected function pointer from _rtld_global
and reduces the libpthread initialization code.
parent 2c711773
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment