[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 2 14:21:48 PST 2018


owenpshaw updated this revision to Diff 128469.
owenpshaw added a comment.

Updated patch to only use PAddr for binary output, and to populate PAddr with VAddr if every segment has a 0 value for PAddr initially.  Added new tests instead modifying existing alignment test.


https://reviews.llvm.org/D41619

Files:
  test/tools/llvm-objcopy/binary-no-paddr.test
  test/tools/llvm-objcopy/binary-paddr.test
  tools/llvm-objcopy/Object.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41619.128469.patch
Type: text/x-patch
Size: 5297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180102/e5d71e99/attachment.bin>


More information about the llvm-commits mailing list