summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-07-25 22:38:08 +0000
committerPetr Hosek <phosek@chromium.org>2017-07-25 22:38:08 +0000
commit5e87de3e4e1f818df651b5759ee894599f536d28 (patch)
treecab1bac76aa1105c6418af51bf51f9a492e811dc
parent2d8de203f7713b4b1827771b8d23cd83569d4f1d (diff)
downloadbcm5719-llvm-5e87de3e4e1f818df651b5759ee894599f536d28.tar.gz
bcm5719-llvm-5e87de3e4e1f818df651b5759ee894599f536d28.zip
Reland "[LLVM][llvm-objcopy] Added basic plumbing to get things started"
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 llvm-svn: 309043
-rw-r--r--llvm/test/CMakeLists.txt1
-rw-r--r--llvm/tools/LLVMBuild.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index 3b826bb3230..0233cba61f1 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/test/CMakeLists.txt
@@ -61,6 +61,7 @@ set(LLVM_TEST_DEPENDS
llvm-modextract
llvm-mt
llvm-nm
+ llvm-objcopy
llvm-objdump
llvm-opt-report
llvm-pdbutil
diff --git a/llvm/tools/LLVMBuild.txt b/llvm/tools/LLVMBuild.txt
index 1797cbef4b0..09b412205e9 100644
--- a/llvm/tools/LLVMBuild.txt
+++ b/llvm/tools/LLVMBuild.txt
@@ -40,6 +40,7 @@ subdirectories =
llvm-modextract
llvm-mt
llvm-nm
+ llvm-objcopy
llvm-objdump
llvm-pdbutil
llvm-profdata
OpenPOWER on IntegriCloud