]> granicus.if.org Git - llvm/commitdiff
Reland "[LLVM][llvm-objcopy] Added basic plumbing to get things started"
authorPetr Hosek <phosek@chromium.org>
Tue, 25 Jul 2017 22:38:08 +0000 (22:38 +0000)
committerPetr Hosek <phosek@chromium.org>
Tue, 25 Jul 2017 22:38:08 +0000 (22:38 +0000)
As discussed on llvm-dev I've implemented the first basic steps towards
llvm-objcopy/llvm-objtool (name pending).

This change adds the ability to copy (without modification) 64-bit
little endian ELF executables that have SHT_PROGBITS, SHT_NOBITS,
SHT_NULL and SHT_STRTAB sections.

Patch by Jake Ehrlich

Differential Revision: https://reviews.llvm.org/D33964

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309043 91177308-0d34-0410-b5e6-96231b3b80d8

test/CMakeLists.txt
tools/LLVMBuild.txt

index 3b826bb3230027866843951ca4f1828ef1d20be7..0233cba61f14c7fe3bd2040ca7bb245a6b944ab5 100644 (file)
@@ -61,6 +61,7 @@ set(LLVM_TEST_DEPENDS
           llvm-modextract
           llvm-mt
           llvm-nm
+          llvm-objcopy
           llvm-objdump
           llvm-opt-report
           llvm-pdbutil
index 1797cbef4b025b643e374aa8e86f4783566bb779..09b412205e99710b90b33b203d030020105f4db3 100644 (file)
@@ -40,6 +40,7 @@ subdirectories =
  llvm-modextract
  llvm-mt
  llvm-nm
+ llvm-objcopy
  llvm-objdump
  llvm-pdbutil
  llvm-profdata