[PATCH] D41619: [llvm-objcopy] Use physical instead of virtual address when aligning and placing sections in binary
Owen Shaw via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 16:42:53 PST 2018
owenpshaw updated this revision to Diff 129185.
owenpshaw added a comment.
Inlined the binary segment layout and renamed the test.
I changed the segment ordering to compare using PAddr, which make getting the lowest PAddr easy, but also ensures the Segment[0] to be adjusted for a starting gap is really the one that will be output first in the binary.
https://reviews.llvm.org/D41619
Files:
test/tools/llvm-objcopy/basic-align-copy.test
test/tools/llvm-objcopy/binary-no-paddr.test
test/tools/llvm-objcopy/binary-paddr.test
test/tools/llvm-objcopy/binary-segment-layout.test
test/tools/llvm-objcopy/two-seg-remove-end.test
test/tools/llvm-objcopy/two-seg-remove-first.test
test/tools/llvm-objcopy/two-seg-remove-third-sec.test
tools/llvm-objcopy/Object.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41619.129185.patch
Type: text/x-patch
Size: 7694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180110/4de2640b/attachment.bin>
More information about the llvm-commits
mailing list