mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 12:11:10 +00:00
TODO: more l_addr cleanup
TODO: squash into commit f2f4f441fbda6080d0ff742f3bb535c09315ef98 cheri: elf: Turn l_addr back to ElfW(Addr)
This commit is contained in:
parent
e8d0e61aa2
commit
45b4ae2ffd
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user