[PATCH] D33964: [LLVM][llvm-objcopy] Added basic plumbing to get things started
Jake Ehrlich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 12 10:42:28 PDT 2017
jakehehrlich updated this revision to Diff 106251.
jakehehrlich added a comment.
1. Offsets of sections that cover a segment are no longer based on relative addresses but on relative offsets from the original file. This accounts for the normal case and the strange TLS case that James pointed out and it does so regardless of weather the target system makes this choice or not for TLS.
2. If a section covers multiple segments then the parent segment is now canonicalized to be the lowest offset segment
Repository:
rL LLVM
https://reviews.llvm.org/D33964
Files:
test/tools/llvm-objcopy/basic-copy.test
test/tools/llvm-objcopy/hello-world.s
tools/LLVMBuild.txt
tools/llvm-objcopy/CMakeLists.txt
tools/llvm-objcopy/LLVMBuild.txt
tools/llvm-objcopy/Object.cpp
tools/llvm-objcopy/Object.h
tools/llvm-objcopy/llvm-objcopy.cpp
tools/llvm-objcopy/llvm-objcopy.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33964.106251.patch
Type: text/x-patch
Size: 22897 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170712/e9ffc216/attachment.bin>
More information about the llvm-commits
mailing list