]> granicus.if.org Git - llvm/commit
[LLVM][llvm-objcopy] Added basic plumbing to get things started
authorPetr Hosek <phosek@chromium.org>
Wed, 19 Jul 2017 23:51:13 +0000 (23:51 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 19 Jul 2017 23:51:13 +0000 (23:51 +0000)
commit98f9792e7ca5bbd9eb43bda72bf497957cfb6eb8
treea780486563bf0c4c1321227c7dafcc6cf6b8430b
parent0775d243ea9b6d8593cfe5619c8df6327fd9276a
[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@308559 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.s [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]