]> sourceware.org Git - glibc.git/commit
elf, nptl: Initialize static TLS directly in ld.so
authorFlorian Weimer <fweimer@redhat.com>
Wed, 5 May 2021 04:20:31 +0000 (06:20 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 5 May 2021 04:20:31 +0000 (06:20 +0200)
commit7cbf1c8416b04c65dc3d253061d8a674ee3c616e
treee931adb0174f9f4ce64f4dfa97c6fcd489f0fc12
parent2c71177309cc59788c2288c6033c9dbbd23f02c3
elf, nptl: Initialize static TLS directly in ld.so

The stack list is available in ld.so since commit
1daccf403b1bd86370eb94edca794dc106d02039 ("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.
elf/dl-open.c
elf/dl-reloc.c
elf/dl-support.c
elf/dl-tls.c
elf/rtld.c
nptl/allocatestack.c
nptl/nptl-init.c
nptl/pthreadP.h
sysdeps/generic/ldsodefs.h
This page took 0.047901 seconds and 5 git commands to generate.