mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-31 14:01:18 +08:00
(elf_get_dynamic_info): Also relocate DT_HASH entry if necessary.
This commit is contained in:
parent
ba967ec556
commit
58c9f058a2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user