diff options
author | Jake Ehrlich <jakehehrlich@google.com> | 2018-12-06 02:03:53 +0000 |
---|---|---|
committer | Jake Ehrlich <jakehehrlich@google.com> | 2018-12-06 02:03:53 +0000 |
commit | 85985ed363c9045a79866b82a80577481f2947a9 (patch) | |
tree | 8496138e14f80b5a3b22d41fe0f4a8f1e37bf5c3 /llvm/tools/llvm-objcopy/CopyConfig.h | |
parent | 400afa02304370070ca3de46675cbc6e1ba98fd8 (diff) | |
download | bcm5719-llvm-85985ed363c9045a79866b82a80577481f2947a9.tar.gz bcm5719-llvm-85985ed363c9045a79866b82a80577481f2947a9.zip |
[llvm-objcopy] Change --only-keep to --only-section
I just hard core goofed when I wrote this and created a different name
for no good reason. I'm failry aware of most "fresh" users of llvm-objcopy
(that is, users which are not using it as a drop in replacement for GNU
objcopy) and can say that only "-j" is being used by such people so this
patch should strictly increase compatibility and not remove it.
Differential Revision: https://reviews.llvm.org/D52180
llvm-svn: 348446
Diffstat (limited to 'llvm/tools/llvm-objcopy/CopyConfig.h')
-rw-r--r-- | llvm/tools/llvm-objcopy/CopyConfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-objcopy/CopyConfig.h b/llvm/tools/llvm-objcopy/CopyConfig.h index f6585116cdf..ce6ead80b7c 100644 --- a/llvm/tools/llvm-objcopy/CopyConfig.h +++ b/llvm/tools/llvm-objcopy/CopyConfig.h @@ -61,7 +61,7 @@ struct CopyConfig { std::vector<StringRef> AddSection; std::vector<StringRef> DumpSection; std::vector<StringRef> KeepSection; - std::vector<StringRef> OnlyKeep; + std::vector<StringRef> OnlySection; std::vector<StringRef> SymbolsToGlobalize; std::vector<StringRef> SymbolsToKeep; std::vector<StringRef> SymbolsToLocalize; |