mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 12:11:10 +00:00
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:
parent
3eb1c569eb
commit
93ab84cd80
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user