From 5f5843e30dda46ffc443c492959e206530837c98 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 19 Dec 2002 23:05:13 +0000 Subject: Update. 2002-12-19 Ulrich Drepper * sysdeps/unix/sysv/linux/i386/sysdep.h: Add support to use AT_SYSINFO information for system calls. * sysdeps/generic/dl-sysdep.h: Define RTLD_PRIVATE_ERRNO to 1 only for ld.so. * elf/rtld.c (_dl_start) [USE___THREAD]: Define initdtv. --- elf/rtld.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'elf') diff --git a/elf/rtld.c b/elf/rtld.c index 9b08b96124..d510018cb4 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -37,6 +37,7 @@ #include #include #include +#include #include @@ -328,6 +329,7 @@ _dl_start (void *arg) to it. When we have something like GOTOFF relocs, we can use a plain reference to find the runtime address. Without that, we have to rely on the `l_addr' value, which is not the value we want when prelinked. */ + dtv_t initdtv[3]; ElfW(Ehdr) *ehdr # ifdef DONT_USE_BOOTSTRAP_MAP = (ElfW(Ehdr) *) &_begin; -- cgit 1.4.1