]> sourceware.org Git - glibc.git/commit - sysdeps/generic/dl-tls.c
2002-08-05 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 5 Aug 2002 18:56:03 +0000 (18:56 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 5 Aug 2002 18:56:03 +0000 (18:56 +0000)
commit08da062122aef3020fd4bf258984102d38bfc12d
tree328d6483bf27978d2eb8331199f8f2803b156bd4
parent1614dd9fe02b2ed6ada1f2879cc917934949cc62
2002-08-05  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h (struct rtld_global): Replace member
`bool _dl_initial_dtv_malloced' with `void *_dl_initial_dtv'.
* elf/rtld.c (dl_main): Set it to the new dtv for the main thread.
* sysdeps/generic/dl-tls.c (__tls_get_addr): When reallocating the
dtv, check if it matches _dl_initial_dtv; if so, malloc and copy the
old data, abandoning the original memory allocated by rtld at startup,
instead of calling realloc normally.
elf/rtld.c
sysdeps/generic/dl-tls.c
sysdeps/generic/ldsodefs.h
This page took 0.044203 seconds and 5 git commands to generate.