diff options
author | Petr Hosek <phosek@chromium.org> | 2017-08-02 16:35:00 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2017-08-02 16:35:00 +0000 |
commit | edd6c3587c736f2c76df77ace5a98d0c21e7e534 (patch) | |
tree | 9209b16b07e646077f142cfada6b0fda0c26cd81 /llvm/lib/Target/X86/X86TargetObjectFile.cpp | |
parent | a70e2649ab868d532c012581435230b3ed85fb41 (diff) | |
download | bcm5719-llvm-edd6c3587c736f2c76df77ace5a98d0c21e7e534.tar.gz bcm5719-llvm-edd6c3587c736f2c76df77ace5a98d0c21e7e534.zip |
[ELF] When the code segment is the last, align it to the page boundary
When the data segment is the last segment, it is correct to leave
it unaligned. However, when the code segment is the last segment,
it should be aligned to the page boundary to avoid loading the
non-segment parts of the ELF file at the end of the file.
Differential Revision: https://reviews.llvm.org/D33630
llvm-svn: 309829
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions