From: Roland McGrath Date: Mon, 5 Aug 2002 18:56:19 +0000 (+0000) Subject: * sysdeps/generic/ldsodefs.h (struct rtld_global): Replace member X-Git-Tag: upstream/2.20~14495 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=917f1c58fa69aac73e4593e54c4dca10034b43b5;p=platform%2Fupstream%2Flinaro-glibc.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 09a15b4..704830a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2002-08-05 Roland McGrath + + * 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. + 2002-08-05 Ulrich Drepper * po/fr.po: Update from translation team.