]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
authorJakub Jelinek <jakub@redhat.com>
Fri, 11 Feb 2005 15:02:46 +0000 (15:02 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 11 Feb 2005 15:02:46 +0000 (15:02 +0000)
for already prelinked ld.so.

ChangeLog
elf/rtld.c

index 21071e35d28906e67ef1e52fdc3739282a819d24..b71840f9fdefd0273a2eb5016d82a8770b3b0df5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
 
+       * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
+       for already prelinked ld.so.
+
        * scripts/soversions.awk: Only record first WORDSIZE{32,64}
        matching line.
 
index 9fda5b8122c7bbb7defb4616556d58507b94c5cb..2c42336f14a0f164c5153c93dd2739567f070825 100644 (file)
@@ -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