[llvm-bugs] [Bug 33819] New: Round executable PT_LOAD to page size and pad it traps
llvm-bugs at lists.llvm.org
Mon Jul 17 09:33:03 PDT 2017
Bug ID: 33819
Summary: Round executable PT_LOAD to page size and pad it traps
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvm-bugs at lists.llvm.org
When not using a linker script with SECTIONS we should probably round the size
of executable PT_LOAD to a page size and pad it with traps.
The reasoning is that if we don't do it any tool editing the file can remove
Currently even lld will put non SHF_ALLOC bits if the executable PT_LOAD is at
There was an old attempt at it in D33630. We can hopefully make it simpler now.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs