[PATCH] D56828: [ELF] Make RW PT_LOAD start with PT_GNU_RELRO sections
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 1 16:55:32 PST 2019
ruiu added a comment.
In D56828#1415833 <https://reviews.llvm.org/D56828#1415833>, @pcc wrote:
> So after this patch the layout will be
>
> .data.rel.ro
> .bss.rel.ro
> .data
> .bss
>
>
> ? That's valid I suppose, but I don't see how we avoid the extra mapping.
You can at least save on average one page of memory address space, as the last page of .data.rel.ro and the first page of .bss.rel.ro can be on the same page?
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56828/new/
https://reviews.llvm.org/D56828
More information about the llvm-commits
mailing list