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/ObjcopyOpts.td | |
| 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/ObjcopyOpts.td')
| -rw-r--r-- | llvm/tools/llvm-objcopy/ObjcopyOpts.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-objcopy/ObjcopyOpts.td b/llvm/tools/llvm-objcopy/ObjcopyOpts.td index 73985ef8f62..1f7e64e4091 100644 --- a/llvm/tools/llvm-objcopy/ObjcopyOpts.td +++ b/llvm/tools/llvm-objcopy/ObjcopyOpts.td @@ -78,9 +78,9 @@ defm redefine_symbol MetaVarName<"old=new">; defm keep_section : Eq<"keep-section", "Keep <section>">, MetaVarName<"section">; -defm only_keep : Eq<"only-keep", "Remove all but <section>">, - MetaVarName<"section">; -def j : JoinedOrSeparate<["-"], "j">, Alias<only_keep>; +defm only_section : Eq<"only-section", "Remove all but <section>">, + MetaVarName<"section">; +def j : JoinedOrSeparate<["-"], "j">, Alias<only_section>; defm add_section : Eq<"add-section", "Make a section named <section> with the contents of <file>.">, |

