* objcopy.c (strip_options): Add --keep-symbol.
authorIan Lance Taylor <ian@airs.com>
Fri, 10 Mar 1995 18:13:31 +0000 (18:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 10 Mar 1995 18:13:31 +0000 (18:13 +0000)
commitdff604a75fe8cc500bdf8b6d037d2977f9230c2e
tree1089f2d544140600405ceeeb5bab61f29d0bde1a
parentd4f389f692a6ca1103a4457d8d1dc4cc1c3f2750
* objcopy.c (strip_options): Add --keep-symbol.
(copy_options): Likewise.
(copy_usage): Mention --keep-symbol and -K.
(strip_usage): Likewise.
(keep_symbols): New static variable.
(is_strip_symbol): Adjust the return value according to
keep_symbols.
(strip_main): Handle -K.  For -N, check that -K was not given.
(copy_main): Likewise.
* binutils.texi, objcopy.1, strip.1: Document -K.
binutils/binutils.texi
binutils/objcopy.1
binutils/strip.1