diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-10-27 09:18:17 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-10-27 09:18:17 +0000 |
commit | 9a267ae298e5e208f05f0e5089530697f0226300 (patch) | |
tree | 97d6a264097ccb57131380b29d72065434daf5f9 /elf/sprof.c | |
parent | 11df531f59482469dd5482e8d397d89ce4acd6f5 (diff) | |
download | glibc-9a267ae298e5e208f05f0e5089530697f0226300.zip glibc-9a267ae298e5e208f05f0e5089530697f0226300.tar.gz glibc-9a267ae298e5e208f05f0e5089530697f0226300.tar.bz2 |
Update.
* elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate
ELF header.
Diffstat (limited to 'elf/sprof.c')
-rw-r--r-- | elf/sprof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/sprof.c b/elf/sprof.c index 198b441..38b2157 100644 --- a/elf/sprof.c +++ b/elf/sprof.c @@ -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))) |