* objcopy.c (enum strip_action): Define strip_unneeded.
authorIan Lance Taylor <ian@airs.com>
Tue, 4 Jul 1995 18:52:27 +0000 (18:52 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 4 Jul 1995 18:52:27 +0000 (18:52 +0000)
commit9135e5f83be3f294a82e526a6c18388057c1cac7
tree017c83460200014824fd3569fb7fba0e7a0784cb
parente51007432078059411a103988045cb482639592b
* objcopy.c (enum strip_action): Define strip_unneeded.
(OPTION_STRIP_UNNEEDED): Define.
(strip_options): Add "strip-unneeded".
(copy_options): Likewise.
(copy_usage): Mention --strip-unneeded.
(strip_usage): Likewise.
(is_strip_section): Strip debugging sections if strip_unneeded.
(filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols.
(copy_object): If strip_all, discard symbols without checking
discard_locals.
(copy_object): Call filter_symbols if strip_unneeded.
(setup_section): Strip debugging sections if strip_unneeded.
(copy_section): Likewise.
(strip_main): Handle OPTION_STRIP_UNNEEDED.
(copy_main): Likewise.
* binutils.texi, objcopy.1, strip.1: Document --strip-unneeded.
PR 6684.
binutils/ChangeLog
binutils/binutils.texi
binutils/objcopy.1
binutils/objcopy.c
binutils/strip.1
This page took 0.024414 seconds and 4 git commands to generate.