mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-16 10:00:12 +00:00
c56baa872b
* sysdeps/generic/ldsodefs.h (struct rtld_global): New member `_dl_tls_static_used'. * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable. (__libc_setup_tls): Initialize it. Let the initial value of _dl_tls_static_size indicate some surplus space in the computed value. * elf/dl-open.c (_dl_tls_static_size): New variable. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Initialize _dl_tls_static_used. Add some surplus space into _dl_tls_static_size. * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function. (CHECK_STATIC_TLS): Use it. * elf/dl-close.c (_dl_close): Adjust _dl_tls_static_used when the closed objects occupied a trailing contiguous chunk of static TLS area. |
||
---|---|---|
.. | ||
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 |