mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00: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…
Reference in New Issue
Block a user