Displaying 2 results from an estimated 2 matches for "elfosabi".
Did you mean:
elf_osabi
2017 May 17
3
[lld][ELF] Add option to make .dynamic read only
...like a
> feature than a lack of a feature. We rely on compilers to give appropriate
> options to us. That makes the linker's behavior more predictable, and it
> also makes it very easy to support cross-linking.
>
Note that you could avoid needing to add a new flag by defining a new
ELFOSABI for Fuchsia and making this behaviour conditional on it.
Peter
>
> On Tue, May 16, 2017 at 7:12 PM Rui Ueyama via llvm-dev <
>> llvm-dev at lists.llvm.org> wrote:
>>
>>> Thank you for confirming. But one page is too small, no? I think we are
>>> not that...
2017 May 17
2
[lld][ELF] Add option to make .dynamic read only
The motivation is not only memory savings but also security:
can-never-be-written is strictly better than RELRO in all cases. The
biggest win is when .dynamic is the sole reason for having a writable
segment at all. The distinction is fairly small for exploitability, but not
negligible.
LLD already has several command-line options that are not supported by or
are different from ld or gold, so