about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-19 23:05:13 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-19 23:05:13 +0000
commit5f5843e30dda46ffc443c492959e206530837c98 (patch)
tree7bc5ac8db51b676ae724d006fec887e2fdb11c75 /elf
parent13880b3014cddd3700e4186a3e07aa6146863b02 (diff)
downloadglibc-5f5843e30dda46ffc443c492959e206530837c98.tar.gz
glibc-5f5843e30dda46ffc443c492959e206530837c98.tar.xz
glibc-5f5843e30dda46ffc443c492959e206530837c98.zip
Update.
2002-12-19  Ulrich Drepper  <drepper@redhat.com>

	* 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.
Diffstat (limited to 'elf')
-rw-r--r--elf/rtld.c2
1 files changed, 2 insertions, 0 deletions
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 <unsecvars.h>
 #include <dl-cache.h>
 #include <dl-procinfo.h>
+#include <tls.h>
 
 #include <assert.h>
 
@@ -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;