]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 27 Oct 2003 09:18:17 +0000 (09:18 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 27 Oct 2003 09:18:17 +0000 (09:18 +0000)
* elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate
ELF header.

ChangeLog
elf/sprof.c

index 4c3e8a2513e702d9d09aec52f56c742d6034d013..2fb941bcff4682d58490404fb8c9994f8f2fac5d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-10-27  Ulrich Drepper  <drepper@redhat.com>
 
+       * elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate
+       ELF header.
+
        * inet/rcmd.c (__validuser2_sa): Remove unnecessary code to skip
        rest of line.  We use getline which means this cannot happen.
 
index 198b441f6f6b2119e440d290b97ae574b4f1ec12..38b21574bbe3a102dd2ae91bfe47a6eb898076ff 100644 (file)
@@ -513,7 +513,7 @@ load_shobj (const char *name)
   /* Now we have to load the symbol table.
 
      First load the section header table.  */
-  ehdr = (ElfW(Ehdr) *) map->l_addr;
+  ehdr = (ElfW(Ehdr) *) map->l_map_start;
 
   /* Make sure we are on the right party.  */
   if (ehdr->e_shentsize != sizeof (ElfW(Shdr)))
This page took 0.048498 seconds and 5 git commands to generate.