[PATCH] Fix assertion failures in ld.so with prelinked ld.so
Jakub Jelinek
jakub@redhat.com
Sat Feb 12 22:26:00 GMT 2005
Hi!
Prelinked ld.so is already relocated by prelink...
2005-02-11 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
for already prelinked ld.so.
--- libc/elf/rtld.c.jj 2005-01-26 18:22:16.000000000 +0100
+++ libc/elf/rtld.c 2005-02-11 15:22:21.467797051 +0100
@@ -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
Jakub
More information about the Libc-hacker
mailing list