diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-09-27 03:17:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-09-27 03:17:20 +0000 |
commit | 9a88a2d7b35b7f08c07a9a189a176e7ca49d82b4 (patch) | |
tree | 67af4eeb0d14730788cbd9a2b3dd0d095db8aee2 /elf/dl-lookup.c | |
parent | 58c9f058a240339cbbb6476d804d80f02a59595f (diff) | |
download | glibc-9a88a2d7b35b7f08c07a9a189a176e7ca49d82b4.zip glibc-9a88a2d7b35b7f08c07a9a189a176e7ca49d82b4.tar.gz glibc-9a88a2d7b35b7f08c07a9a189a176e7ca49d82b4.tar.bz2 |
Update.
2002-09-26 Ulrich Drepper <drepper@redhat.com>
* elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_HASH entry
if necessary.
* elf/dl-lookup.c (_dl_setup_hash): DT_HASH entry is already relocated.
* elf/dl-addr.c (_dl_addr): Use .hash[1] entry to determine end of the
symbol table if necessary.
Diffstat (limited to 'elf/dl-lookup.c')
-rw-r--r-- | elf/dl-lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-lookup.c b/elf/dl-lookup.c index e2f5506..1c3d9b5 100644 --- a/elf/dl-lookup.c +++ b/elf/dl-lookup.c @@ -587,7 +587,7 @@ _dl_setup_hash (struct link_map *map) if (!map->l_info[DT_HASH]) return; - hash = (void *)(map->l_addr + map->l_info[DT_HASH]->d_un.d_ptr); + hash = (void *) D_PTR (map, l_info[DT_HASH]); map->l_nbuckets = *hash++; nchain = *hash++; |