about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-02-12 23:14:43 +0000
committerUlrich Drepper <drepper@redhat.com>2005-02-12 23:14:43 +0000
commitf85f3563dbe640fb1cdb2f8a98c1101e424cb5bc (patch)
tree74b9205c97c751ae1e945d0a4e38a0fa58ef0580 /elf
parent3e1e123d02fa495961898f390741bd743a92022d (diff)
downloadglibc-f85f3563dbe640fb1cdb2f8a98c1101e424cb5bc.tar.gz
glibc-f85f3563dbe640fb1cdb2f8a98c1101e424cb5bc.tar.xz
glibc-f85f3563dbe640fb1cdb2f8a98c1101e424cb5bc.zip
(_dl_start): Set bootstrap_map.l_relocated even for already prelinked ld.so.
Diffstat (limited to 'elf')
-rw-r--r--elf/rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index f2118a958c..6a1216d12d 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -509,8 +509,8 @@ _dl_start (void *arg)
 	 data access using the global offset table.  */
 
       ELF_DYNAMIC_RELOCATE (&bootstrap_map, 0, 0);
-      bootstrap_map.l_relocated = 1;
     }
+  bootstrap_map.l_relocated = 1;
 
   /* Please note that we don't allow profiling of this object and
      therefore need not test whether we have to allocate the array