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

TODO: depends on l_addr design
This commit is contained in:
Szabolcs Nagy 2022-04-07 10:08:51 +01:00
parent 3eb1c569eb
commit 93ab84cd80

View File

@ -1157,7 +1157,7 @@ rtld_setup_main_map (struct link_map *main_map)
{
case PT_PHDR:
/* Find out the load address. */
main_map->l_addr = (ElfW(Addr)) phdr - ph->p_vaddr;
main_map->l_addr = (elfptr_t) phdr - ph->p_vaddr;
break;
case PT_DYNAMIC:
/* This tells us where to find the dynamic section,