p_filesz different from p_memsz is confusing some tools.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D37369
[ELF] Set p_memsz to p_filesz when aligning the last segment to page boundary ClosedPublic Authored by phosek on Aug 31 2017, 7:33 PM.
Details Summary p_filesz different from p_memsz is confusing some tools.
Diff Detail
Event TimelineHerald added subscribers: fedor.sergeev, javed.absar, emaste, jyknight. · View Herald TranscriptAug 31 2017, 7:33 PM
This revision is now accepted and ready to land.Sep 1 2017, 1:53 PM Closed by commit rL312384: [ELF] Set p_memsz to p_filesz when aligning the last segment to page boundary (authored by phosek). · Explain WhySep 1 2017, 2:49 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 113504 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
|
Looks unformatted.