diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-05 18:56:19 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-05 18:56:19 +0000 |
commit | 917f1c58fa69aac73e4593e54c4dca10034b43b5 (patch) | |
tree | d2332c55bfb77985a4abce22bbe1d8a7cc099468 /elf/rtld.c | |
parent | 08da062122aef3020fd4bf258984102d38bfc12d (diff) | |
download | glibc-917f1c58fa69aac73e4593e54c4dca10034b43b5.tar glibc-917f1c58fa69aac73e4593e54c4dca10034b43b5.tar.gz glibc-917f1c58fa69aac73e4593e54c4dca10034b43b5.tar.bz2 glibc-917f1c58fa69aac73e4593e54c4dca10034b43b5.zip |
* 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.
Diffstat (limited to 'elf/rtld.c')
0 files changed, 0 insertions, 0 deletions