diff options
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r-- | elf/dl-load.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c index b9f4aa184b..48210731cc 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -357,6 +357,8 @@ _dl_map_object_from_fd (const char *name, int fd, char *realname, l->l_phdr = (void *) ((const ElfW(Ehdr) *) l->l_addr)->e_phoff; (ElfW(Addr)) l->l_phdr += l->l_addr; + l->l_entry += l->l_addr; + elf_get_dynamic_info (l->l_ld, l->l_info); if (l->l_info[DT_HASH]) _dl_setup_hash (l); |