[llvm-objcopy] Add ability to remove multiple sections by name
authorJake Ehrlich <jakehehrlich@google.com>
Tue, 10 Oct 2017 23:02:43 +0000 (23:02 +0000)
committerJake Ehrlich <jakehehrlich@google.com>
Tue, 10 Oct 2017 23:02:43 +0000 (23:02 +0000)
commitfcc05627d43f3ab272005b7f314689625af03525
tree9005f3f0aa0c498734ebf9a0a6f283e414971260
parenta1b79dff2af6b739d047d6b43c24e287724cd637
[llvm-objcopy] Add ability to remove multiple sections by name

This change adds the ability to use the "-R"/"-remove-section" option
multiple times.

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

llvm-svn: 315385
llvm/test/tools/llvm-objcopy/remove-multiple-sections.test [new file with mode: 0644]
llvm/tools/llvm-objcopy/llvm-objcopy.cpp