binutils/
authorJan Beulich <jbeulich@novell.com>
Thu, 16 Dec 2004 13:16:33 +0000 (13:16 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 16 Dec 2004 13:16:33 +0000 (13:16 +0000)
commitbcf32829aff66021b9309b1f738d54f24dfa6a8e
tree6146f65e84fd4af302e4779d149d456f7577e61b
parent5b9d23c67a826f866199a297cabcc4aa1ca38e69
binutils/
2004-12-15 Jan Beulich  <jbeulich@novell.com>

* doc/binutils.texi: Document --strip-unneeded-symbol and
--strip-unneeded-symbols.
* objcopy.c (strip_unneeded_list): New.
(enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
and OPTION_STRIP_UNNEEDED_SYMBOLS.
(copy_options): Add  --strip-unneeded-symbol and
--strip-unneeded-symbols.
(copy_usage): Likewise.
(filter_symbols): Suppress copying of symbol if in strip_unneeded_list
and the symbol is not needed.
(copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
OPTION_STRIP_UNNEEDED_SYMBOLS.
binutils/ChangeLog
binutils/NEWS
binutils/doc/binutils.texi
binutils/objcopy.c