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)
commit5e87de3e4e1f818df651b5759ee894599f536d28
treecab1bac76aa1105c6418af51bf51f9a492e811dc
parent2d8de203f7713b4b1827771b8d23cd83569d4f1d
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
llvm/test/CMakeLists.txt
llvm/tools/LLVMBuild.txt