TODO: more l_addr cleanup

TODO: squash into

  commit f2f4f441fbda6080d0ff742f3bb535c09315ef98
  cheri: elf: Turn l_addr back to ElfW(Addr)
This commit is contained in:
Szabolcs Nagy 2022-10-21 15:51:49 +01:00
parent e8d0e61aa2
commit 45b4ae2ffd

View File

@ -355,7 +355,7 @@ _dl_protect_relro (struct link_map *l)
{
elfptr_t start = ALIGN_DOWN(dl_rx_ptr (l, l->l_relro_addr),
GLRO(dl_pagesize));
elfptr_t end = ALIGN_DOWN((l->l_addr
ElfW(Addr) end = ALIGN_DOWN((l->l_addr
+ l->l_relro_addr
+ l->l_relro_size),
GLRO(dl_pagesize));