mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
(elf_get_dynamic_info): Also relocate DT_HASH entry if necessary.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user