OSDN Git Service

[llvm-objcopy] Add option to add a progbits section from a file
authorJake Ehrlich <jakehehrlich@google.com>
Tue, 19 Dec 2017 00:47:30 +0000 (00:47 +0000)
committerJake Ehrlich <jakehehrlich@google.com>
Tue, 19 Dec 2017 00:47:30 +0000 (00:47 +0000)
commite812fcb425587b898c15fce97fbf41121d7f2d2b
tree132000fcd84412c9bdac5a82335a197a58ccd2c6
parent51a1d9adb93055d28527d232b9a8761942d732d1
[llvm-objcopy] Add option to add a progbits section from a file

This change adds support for adding progbits sections with contents from a file

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321047 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/add-section-remove.test [new file with mode: 0644]
test/tools/llvm-objcopy/add-section.test [new file with mode: 0644]
tools/llvm-objcopy/Object.cpp
tools/llvm-objcopy/Object.h
tools/llvm-objcopy/llvm-objcopy.cpp