diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-21 15:37:29 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-26 15:39:59 +0100 |
commit | 8593166279495e005a03dee9886e2b33114c3fa5 (patch) | |
tree | efc7bde52f236326ef1fb463ef56223b0aa4463b | |
parent | bf969db943228fa1d2bf21e0053687bbdd241500 (diff) | |
download | glibc-8593166279495e005a03dee9886e2b33114c3fa5.zip glibc-8593166279495e005a03dee9886e2b33114c3fa5.tar.gz glibc-8593166279495e005a03dee9886e2b33114c3fa5.tar.bz2 |
Revert "TODO(l_addr): cheri: rtld: elfptr_t fix in rtld.c program header processing"
This reverts commit 93ab84cd80067744fb990d0f420dafc04a18d4cb.
-rw-r--r-- | elf/rtld.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1170,7 +1170,7 @@ rtld_setup_main_map (struct link_map *main_map) { case PT_PHDR: /* Find out the load address. */ - main_map->l_addr = (elfptr_t) phdr - ph->p_vaddr; + main_map->l_addr = (ElfW(Addr)) phdr - ph->p_vaddr; break; case PT_DYNAMIC: /* This tells us where to find the dynamic section, |