[PATCH] D59483: [llvm-objcopy]Preserve data in segments not covered by sections
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 06:47:26 PDT 2019
jhenderson updated this revision to Diff 192094.
jhenderson added a comment.
Fix an issue where the ELF header and program header table were not being updated if they were covered by a segment. This was fixed by doing the writing of segment data before writing the ELF header and program header table. Also add a test dedicated to showing that this is no longer an issue.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59483/new/
https://reviews.llvm.org/D59483
Files:
test/tools/llvm-objcopy/ELF/preserve-segment-contents-ehdr-phdrs.test
test/tools/llvm-objcopy/ELF/preserve-segment-contents.test
tools/llvm-objcopy/ELF/Object.cpp
tools/llvm-objcopy/ELF/Object.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59483.192094.patch
Type: text/x-patch
Size: 23808 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190325/e387b2c4/attachment.bin>
More information about the llvm-commits
mailing list