mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-12 04:00:17 +00:00
Revert "TODO(l_addr): cheri: rtld: elfptr_t fix in rtld.c program header processing"
This reverts commit 93ab84cd80
.
This commit is contained in:
parent
bf969db943
commit
8593166279
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user