]> granicus.if.org Git - llvm/commit
Reland "[LLVM][llvm-objcopy] Added basic plumbing to get things started"
authorPetr Hosek <phosek@chromium.org>
Thu, 27 Jul 2017 04:35:30 +0000 (04:35 +0000)
committerPetr Hosek <phosek@chromium.org>
Thu, 27 Jul 2017 04:35:30 +0000 (04:35 +0000)
commitc8a6123d8b64c62587a571319697312960e426b1
tree46c4b76e19c2b41308f0a00a15bb8f95627460fe
parent5e5b5e82eb6e232579f0c1e42f005e6b0ace1e16
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309249 91177308-0d34-0410-b5e6-96231b3b80d8
test/CMakeLists.txt
test/tools/llvm-objcopy/basic-copy.test [new file with mode: 0644]
test/tools/llvm-objcopy/empty-section.test [new file with mode: 0644]
test/tools/llvm-objcopy/program-headers.test [new file with mode: 0644]
tools/LLVMBuild.txt
tools/llvm-objcopy/CMakeLists.txt [new file with mode: 0644]
tools/llvm-objcopy/LLVMBuild.txt [new file with mode: 0644]
tools/llvm-objcopy/Object.cpp [new file with mode: 0644]
tools/llvm-objcopy/Object.h [new file with mode: 0644]
tools/llvm-objcopy/llvm-objcopy.cpp [new file with mode: 0644]
tools/llvm-objcopy/llvm-objcopy.h [new file with mode: 0644]