projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba967ec
)
(elf_get_dynamic_info): Also relocate DT_HASH entry if necessary.
author
Ulrich Drepper
<drepper@redhat.com>
Fri, 27 Sep 2002 02:56:54 +0000
(
02:56
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Fri, 27 Sep 2002 02:56:54 +0000
(
02:56
+0000)
elf/dynamic-link.h
patch
|
blob
|
history
diff --git
a/elf/dynamic-link.h
b/elf/dynamic-link.h
index
40367b8
..
6a8871e
100644
(file)
--- a/
elf/dynamic-link.h
+++ b/
elf/dynamic-link.h
@@
-67,6
+67,8
@@
elf_get_dynamic_info (struct link_map *l)
{
ElfW(Addr) l_addr = l->l_addr;
+ if (info[DT_HASH] != NULL)
+ info[DT_HASH]->d_un.d_ptr += l_addr;
if (info[DT_PLTGOT] != NULL)
info[DT_PLTGOT]->d_un.d_ptr += l_addr;
if (info[DT_STRTAB] != NULL)