OSDN Git Service

binutils/
authorjbeulich <jbeulich>
Thu, 16 Dec 2004 13:16:30 +0000 (13:16 +0000)
committerjbeulich <jbeulich>
Thu, 16 Dec 2004 13:16:30 +0000 (13:16 +0000)
commit7ff7ceaa7caa384201cb5ec21a354161edd09dca
treeb942956465e0b1576c10022c3c64911c34b3f159
parent2d78232c5ccf88dffa46e9a889b8dae227172da1
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