This is PR33819,
Patch attempts to simplify outdated D33630.
Paths
| Differential D35680
[ELF] - Round executable PT_LOAD to page size and pad it with traps AbandonedPublic Authored by grimar on Jul 20 2017, 5:38 AM.
Details
Diff Detail Event TimelineHerald added subscribers: javed.absar, emaste, jyknight. · View Herald TranscriptJul 20 2017, 5:38 AM grimar retitled this revision from {ELF] - Round executable PT_LOAD to page size and pad it with traps to [ELF] - Round executable PT_LOAD to page size and pad it with traps.Jul 20 2017, 5:39 AM Comment Actions I'm not sure I want anything like this unconditionally. It is going to waste quite a bit of space, i.e. 2KB per executable and shared library sums up. Comment Actions
Just in case: this patch was abandoned, D33630 was landed. It do something about the same though, but probably more correct to discuss in its thread.
Revision Contents
Diff 107490 ELF/InputSection.cpp
ELF/LinkerScript.h
ELF/LinkerScript.cpp
ELF/OutputSections.h
ELF/Writer.cpp
test/ELF/avoid-empty-program-headers.s
test/ELF/basic-aarch64.s
test/ELF/basic-sparcv9.s
test/ELF/basic.s
test/ELF/basic32.s
test/ELF/build-id.s
test/ELF/image-base.s
test/ELF/relocatable.s
|