[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
Wed Jan 3 15:44:21 PST 2018


owenpshaw added a comment.

Looks like binutils doesn't bother with any alignment, and just offsets everything from the lowest PAddr, which seems reasonable given that in the embedded case the binary will likely be loaded on a device as-is at that lowest PAddr.  I can update the patch to do this when using PAddr instead of calling align.


https://reviews.llvm.org/D41619





More information about the llvm-commits mailing list