aboutsummaryrefslogtreecommitdiff
path: root/binutils/strip.1
AgeCommit message (Collapse)AuthorFilesLines
1995-10-06Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn1-3/+5
<schwab@issan.informatik.uni-dortmund.de> * nm.c (print_symname): Don't try to demangle an empty name. * objdump.c (slurp_symtab): Reset symcount if there are no symbols. (slurp_dynamic_symtab): Likewise, for dynsymcount. (disassemble_data): Fix memory leak: free sorted_syms when done. (display_bfd): Likewise, for syms and dynsyms. (dump_relocs): Don't print header before possibly generating an error message. (dump_dynamic_relocs): Likewise. * ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and formatting bugs.
1995-07-04 * objcopy.c (enum strip_action): Define strip_unneeded.Ian Lance Taylor1-0/+5
(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.
1995-03-10 * objcopy.c (strip_options): Add --keep-symbol.Ian Lance Taylor1-11/+24
(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.
1994-11-18Thu Nov 17 15:37:19 1994 Mark W. Eichin <eichin@cygnus.com>Ian Lance Taylor1-0/+8
* objcopy.c (add_strip_symbol): New function, adds a name to an explicit list of symbols to strip. (is_strip_symbol): New function, reports whether the name argument is in the explicit list. (filter_symbols): Check against is_strip_symbol above all. (strip_main): Recognize -N option. If used, don't default to strip_all. (copy_main): Recognize -N option. (strip_usage): Document -N and --strip-symbol options. (copy_usage): Ditto. * objcopy.1, strip.1, binutils.texi: Document -N and --strip-symbol options.
1994-08-11 Add support for removing named sections to objcopy and strip.Ian Lance Taylor1-3/+15
* objcopy.c (struct section_list): Define. (remove_sections): New static variable. (strip_options, copy_options): Add remove-section. (copy_usage, strip_usage): Mention -R and --remove-section. (setup_section): If section is in remove_sections list, ignore it. (copy_section): Likewise. (strip_main, copy_main): Handle -R. * binutils.texi, objcopy.1, strip.1: Document new options.
1994-01-06 * binutils.texi: Add a chapter summarizing the ways to selectDavid MacKenzie1-14/+12
aspects of the target for each program. * objdump.c (long_options, usage): Add long equivalents for all remaining short options that lacked them. * binutils.texi objdump.1: Document them. * size.c (usage): Tweak usage message. * size.1: Add missing `=' in examples. * binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c: Use "--target=bfdname" as the option to select the BFD target, like nm and size already do. Reserve "--format=format" for textual output selection options, but for now keep old option names as obsolete for backward compatibility. * strings.c (main, strings_object_file, usage): Add --target option. * binutils.texi strings.1: Document it.
1993-11-13fix NAME hyphenDavid MacKenzie1-1/+1
1993-06-28 * Makefile.in: Note dependencies on bucomm.h.David MacKenzie1-31/+51
(cplus-dem.o): Link c++filt with version.o. * strings.c: Include bucomm.h and add prototypes to other decls. Remove -h option. * bucomm.h: Declare xrealloc. * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add --help option. Put "GNU" in the version message. (usage): Take stream and exit status as args. (main): Pass new args to usage.
1993-04-30Had a duplicate listing for -v.David MacKenzie1-8/+1
1993-04-29Document missing options. Use -- instead of + for long options.David MacKenzie1-6/+54
1992-08-08Strip has mutated; remove all existing option documentation, documentRoland Pesch1-79/+9
only -v (verbose).
1992-07-18removed rcsidsK. Richard Pixley1-1/+0
1991-11-05Initial revisionRoland Pesch1-0/+143