Revert "TODO(l_addr): cheri: rtld: elfptr_t fix in rtld.c program header processing"

This reverts commit 93ab84cd80.
This commit is contained in:
Szabolcs Nagy 2022-10-21 15:37:29 +01:00
parent bf969db943
commit 8593166279

View File

@ -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,