mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 21:40:12 +00:00
581dc54b74
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): New function, split out of _dl_allocate_tls. (_dl_allocate_tls_init): Likewise. (_dl_allocate_tls): Call those. * sysdeps/generic/ldsodefs.h: Declare them with attribute_hidden. * elf/rtld.c (dl_main): Call them separately instead of calling _dl_allocate_tls. Delay _dl_allocate_tls_init until after relocation is finished, so that the initializer data has been relocated before we copy it into the main thread's TLS block. * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Fix off-by-one error in loop conditions, prevented the last used module from being initialized. |
||
---|---|---|
.. | ||
alpha | ||
am29k | ||
arm | ||
cris | ||
generic | ||
gnu | ||
hppa | ||
i386 | ||
i860 | ||
i960 | ||
ia64 | ||
ieee754 | ||
m68k | ||
m88k | ||
mach | ||
mips | ||
posix | ||
powerpc | ||
pthread | ||
rs6000 | ||
s390 | ||
sh | ||
sparc | ||
standalone | ||
tahoe | ||
unix | ||
vax | ||
wordsize-32 | ||
wordsize-64 | ||
x86_64 | ||
z8000 |