1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00
2002-08-25  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/elf/configure.in: Unconditionally define
	PI_STATIC_AND_HIDDEN.
	* elf/rtld.c (DONT_USE_BOOTSTRAP_MAP): Define only if
	PI_STATIC_AND_HIDDEN is defined as well.
	* config.h.in: Add PI_STATIC_AND_HIDDEN entry.

	* elf/rtld.c (dl_main): Likewise.
This commit is contained in:
Ulrich Drepper
2002-08-25 07:22:45 +00:00
parent e2084ba071
commit 5a47e7f2a8
5 changed files with 24 additions and 2 deletions

View File

@ -129,7 +129,7 @@ TLS_INIT_HELPER
is fine, too. The latter is impotant here. We can avoid setting
up a temporary link map for ld.so if we can mark _rtld_global as
hidden. */
#ifdef HAVE_HIDDEN
#if defined PI_STATIC_AND_HIDDEN && defined HAVE_HIDDEN
# define DONT_USE_BOOTSTRAP_MAP 1
#endif
@ -1215,7 +1215,7 @@ cannot allocate TLS data structures for initial thread");
}
if (__builtin_expect (mode, trace) != trace)
for (i = 1; i < _dl_argc; ++i)
for (i = 1; i < (unsigned int) _dl_argc; ++i)
{
const ElfW(Sym) *ref = NULL;
ElfW(Addr) loadbase;