[PATCH] D38335: [llvm-objcopy] Add support for --strip-sections to remove all section headers leaving only program headers and loadable segment data

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 19:31:23 PDT 2017


jakehehrlich updated this revision to Diff 117952.
jakehehrlich added a comment.

1. rebased latest remove section changes
2. Made sure SHOffset wasn't bumped too far if no section header was going to be output


Repository:
  rL LLVM

https://reviews.llvm.org/D38335

Files:
  test/tools/llvm-objcopy/strip-sections.test
  tools/llvm-objcopy/Object.cpp
  tools/llvm-objcopy/Object.h
  tools/llvm-objcopy/llvm-objcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38335.117952.patch
Type: text/x-patch
Size: 7320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171006/d74c4d8a/attachment.bin>


More information about the llvm-commits mailing list