aboutsummaryrefslogtreecommitdiff
path: root/binutils/binutils.texi
AgeCommit message (Collapse)AuthorFilesLines
1995-07-04 * ar.c (replace_members): In verbose messages, use 'r' whenIan Lance Taylor1-0/+7
replacing a member, and 'a' when adding one. * ar.c (truncate): New static variable. (normalize): Change return type to const char *. Add abfd argument. Change all callers. If truncate, chop the filename to abfd->ar_max_namelen. (main): For the 'f' modifier, set truncate to true. Don't change quick_append to replace to truncate is true. (do_quick_append): If truncate, set BFD_TRADITIONAL_FORMAT. (write_archive): Likewise. * binutils.texi, ar.1: Document 'f' modifier. PR 6888.
1995-07-04 * objcopy.c (enum strip_action): Define strip_unneeded.Ian Lance Taylor1-0/+6
(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-06-09PR 7046: use unsigned compares in looking up items in the sorted symbol ↵Michael Meissner1-1/+6
list, not signed; Also add --wide to print on wide columns
1995-03-10 * objcopy.c (strip_options): Add --keep-symbol.Ian Lance Taylor1-6/+18
(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.
1995-02-17 * objcopy.c (struct section_list): Add fields remove, set_flags,Ian Lance Taylor1-0/+8
and flags. Change adjust from boolean to enum. (remove_sections): Remove static variable. (sections_removed): New static variable. (copy_options): Add --set-section-flags. (copy_usage): Mention --set-section-flags. (parse_flags): New static function. (find_section_list): New static function. (is_strip_symbol): Change return type from int to boolean. (is_strip_section): New static function. (filter_symbols): Call is_strip_section. (copy_object): When adding sections, check for specified flags or VMA. Call filter_symbols if any sections are being removed. (setup_section): Use find_section_list function rather than looking through remove_sections and adjust_sections. Handle --set-section-flags. (copy_section): Use find_section_list rather than looking through remove_sections. (strip_main): Use find_section_list instead of adding items to sections_removed. (copy_main): Use find_section_list instead of adding items to sections_removed and adjust_sections. Handle --set-section-flags. * binutils.texi, objcopy.1: Document --set-section-flags.
1995-02-14 * objdump.c (with_source_code): New global variable.Ian Lance Taylor1-1/+8
(usage): Mention -S/--source. (long_options): Add --source. (prev_functionname, prev_line): New static variables. (struct print_file_list): Define. (print_files): New static variable. (skip_to_line, show_line): New static functions. (disassemble_data): Call show_line to handle -l and -S. (main): Handle -S. * binutils.texi, objdump.1: Document -S/--source.
1995-02-09 * objcopy.c (copy_usage): Rename parameter to avoid shadowing.Ian Lance Taylor1-0/+7
(strip_usage): Likewise. * objcopy.c (struct section_add): Define. (add_sections): New static variable. (copy_options): Accept --add-section. (copy_usage): Mention --add-section. (copy_object): Add sections from the add_sections list. (copy_main): Handle --add-section. * binutils.texi, objcopy.1: Document --add-section.
1994-11-18Thu Nov 17 15:37:19 1994 Mark W. Eichin <eichin@cygnus.com>Ian Lance Taylor1-0/+14
* 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-10-25 * objcopy.c (gap_fill): Explicitly initialize, for clarity.Ian Lance Taylor1-2/+8
(pad_to_set, pad_to): New static variables. (copy_options): Accept --pad-to. (copy_usage): Mention --pad-to. (copy_object): Support --pad-to. (compare_section_vma): Sort non loadable sections to the front. Sort sections with the same VMA by size. (copy_main): Handle --pad-to. * binutils.texi, objcopy.1: Document --pad-to.
1994-10-20 * objcopy.c (gap_fill_set, gap_fill): New static variables.Ian Lance Taylor1-2/+7
(copy_options): Accept --gap-fill. (copy_usage): Mention --gap-fill. (copy_object): Support --gap-fill. (get_sections, compare_section_vma): New static functions. (copy_main): Handle --gap-fill. * binutils.texi, objcopy.1: Document --gap-fill.
1994-10-19 * objcopy.c (copy_object): Revert yesterday's change.Ian Lance Taylor1-6/+3
* binutils.texi, objcopy.1: Remove special mention of --set-start and `binary' output format.
1994-10-18 * objcopy.c (copy_object): If the output file format is `binary',Ian Lance Taylor1-1/+19
and the start address was not set using --set-start, default the start address to zero. This hack is because the `binary' output file format uses the start address to set the virtual address of the first byte in the file. * binutils.texi, objcopy.1: Add some notes on generating S-records and binary files.
1994-10-18 * objcopy.c (struct section_list): Add fields used, adjust, val.Ian Lance Taylor1-0/+36
(adjust_start, set_start_set, set_start): New static variables. (adjust_section_vma, adjust_sections): New static variables. (copy_options): Add --adjust-start, --adjust-vma, --adjust-section-vma, --adjust-warnings, --no-adjust-warnings, --set-start. (parse_vma): New static function. (copy_usage): Mention new options. (copy_object): Handle --set-start and --adjust-start. (setup_section): Correct type of last argument to PTR. Set used field if section is removed. Handle --adjust-vma and --adjust-section-vma. (copy_section): Correct type of last argument to PTR. (mark_symbols_used_in_relocations): Likewise. (strip_main): Clear used field when handling -R. (copy_main): Handle new options. * binutils.texi (objcopy): Document new options. * objcopy.1: Document new options.
1994-09-16 * objdump.c (disassemble_all): New global variable.Ian Lance Taylor1-5/+14
(usage): Document --disassemble-all. (long_options): Add disassemble-all as a synonym for -D. (compare_symbols): Make pointers const. (compare_relocs): New static function. (disassemble_data): Rename disassemble to disassemble_fn to avoid shadowing. If dump_reloc_info, print relocs along with disassembly. Skip sections which are not SEC_CODE unless disassemble_all or only is set. (display_bfd): Don't call dump_relocs if disassemble is set. (main): Accept and handle -D. * binutils.texi: Document -D/--disassemble-all. * objdump.1: Likewise. PR 5059.
1994-09-14 * nm.c: Include libiberty.h.Ian Lance Taylor1-2/+7
(sort_by_size): New static variable. (long_options): Add --size-sort. (usage): Mention --size-sort. (numeric_forward): Make static. Change from void * to PTR. (numeric_reverse): Likewise. (non_numeric_forward, non_numeric_reverse): Likewise. (sorters): Change declaration from void * to PTR. (size_forward, sort_symbol_by_size): New static functions. (display_rel_file): Handle sort_by_size. (filter_symbols): If sort_by_size, discard absolute and undefined symbols. * binutils.texi (nm): Document --size-sort. * nm.1: Document --size-sort. PR 3611.
1994-08-11 Add support for removing named sections to objcopy and strip.Ian Lance Taylor1-0/+14
* 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-06-16 * configure.in: Set UNDERSCORE in Makefile based on result ofIan Lance Taylor1-1/+7
invoking config.bfd with a second argument of ``_''. * Makefile.in (underscore.c): Depend upon Makefile. Don't try to run $(CC) and $(NM), just use $(UNDERSCORE). Create via temporary file. (demangle.o): Remove target. ($(NM_PROG)): Don't depend upon demangle.o, and don't link against demangle.o. It's in libiberty anyhow. (cplus-dem.o): Don't depend upon demangle.o. * binutils.texi: Mention -n and --no-strip-underscores arguments to c++filt.
1994-06-15 * nm.c (long_options): Add --no-demangle to turn off --demangle,Ian Lance Taylor1-1/+4
and --no-cplus for Linux compatibility. (usage): Mention --no-demangle. * binutils.texi: Document --no-demangle.
1994-06-03 binutils.texi: (objdump) fix formatting in options summaryJeffrey Osier1-2/+3
1994-04-07 Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -RIan Lance Taylor1-4/+26
(--dynamic-reloc) arguments to objdump. * nm.c (dynamic): New static variable. (long_options): Added "dynamic". (usage): Mention -D and --dynamic. (main): Add D to getopt string. Handle -D by setting dynamic. (display_rel_file): If dynamic is non-zero, read dynamic symbols rather than normal symbols. * nm.1: Updated for -D (--dynamic) option. * objdump.c (dump_dynamic_symtab): New global variable. (dump_dynamic_reloc_info): New global variable. (dynsyms, dynsymcount): New global variables. (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc. (long_options): Added "dynamic-reloc" and "dynamic-syms". (slurp_symtab): If no symbols, return rather than exit. (slurp_dynamic_symtab): New function. (display_bfd): Handle dump_dynamic_symtab and dump_dynamic_reloc_info. (dump_symbols): Take new dynamic argument, indicating whether to display dynamic symbols. (dump_relocs): Move most printing into dump_reloc_set. (dump_dynamic_relocs): New function. (dump_reloc_set): New function, extracted from dump_relocs. (main): Add R and T to getopt string. Handle -T by setting dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info. * objdump.1: Updated for -R (--dynamic-reloc) and -T (--dynamic-syms) options. * binutils.texi: Updated for new nm and objdump options.
1994-03-29 binutils.texi(nlmconv): added -d/--debug and -l/--linker infoJeffrey Osier1-0/+15
1994-03-17Minor update to list of programs for dir.info entry.Roland Pesch1-2/+3
1994-02-18 binutils.texi: fixed dir-entry, copyright date, last chapter a bitJeffrey Osier1-93/+71
1994-02-07 binutils.texi: minor formatting updates for next releaseJeffrey Osier1-3/+6
1994-01-26 * objcopy.c (filter_bytes): New function.David MacKenzie1-5/+14
(copy_section): Call it. (copy_options, copy_usage, copy_main): Add --byte option to activate it. Appropriate the -b option (which was an undocumented synonym for -F) for it, also. Add --interleave, -i option for additional control. (setup_section, copy_section, mangle_section): Renamed with no `s' on the end. * objcopy.1, binutils.texi: Document the new options. * objdump.c (display_target_tables, display_target_list): New functions broken out of display_info. Eliminate some magic constants. Use more meaningful variable names. (dump_bfd_header): New function broken out of display_bfd. (dump_section_header): New function broken out of dump_headers. (remove_useless_symbols): Don't shadow global variable name with parameter. (objdump_print_address): Fix backward test.
1994-01-24 * binutils.texi (objdump): Note some limitations of -h sectionDavid MacKenzie1-1/+18
address printing.
1994-01-06 * binutils.texi: Add a chapter summarizing the ways to selectDavid MacKenzie1-81/+374
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-23 * binutils.texi: fix bug in nlmconv docJeffrey Osier1-8/+11
1993-11-19 binutils.texi: minor fix for nlmconv chapterJeffrey Osier1-2/+12
1993-11-05 binutils.texi: added nlmconv chapterJeffrey Osier1-3/+59
1993-10-30put objcopy in alphabetical orderDavid MacKenzie1-86/+86
1993-10-01Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.texRoland Pesch1-25/+23
binutils.texi (ar): improve synopsis lines (strings): fix overfull box in synopsis (passim) remove some contractions
1993-08-13 * Makefile.in ($(NM_PROG)): Depend on demangle.o.David MacKenzie1-12/+16
(demangle.o): New target. (cplus-dem.o): Depend on it, to force compilation order when doing parallel compiles. * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg. (struct output_fns print_symbol_info): Ditto. (long_options, usage, main): Add -C --demangle option. (print_symname): New function, demangling if requested. (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
1993-08-04fix doc bugDavid MacKenzie1-1/+1
1993-08-02add nm -BDavid MacKenzie1-3/+10
1993-06-28 * Makefile.in: Note dependencies on bucomm.h.David MacKenzie1-43/+85
(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-06-26 * strings.c, strings.1: New files.David MacKenzie1-4/+68
* binutils.texi: Document strings.
1993-06-04update INFO-DIR-ENTRYDavid D. Zuhn1-1/+1
1993-06-03 binutils.texi: put in zoo's info-dir entry stuff (it's cleaner)Jeffrey Osier1-1/+1
1993-06-02 binutils.texi: final tweaks for c++filt chapterJeffrey Osier1-0/+18
1993-05-28 * biutils.texi: revised c++filt chapterJeffrey Osier1-14/+25
1993-05-24INFO-DIR-ENTRY formatting tweaksDavid D. Zuhn1-1/+1
1993-05-21Move printing from bfd to nm and add POSIX and SysV compatibility.David MacKenzie1-22/+82
1993-05-15Minor cleanups to c++filt node, and copyright dates.Roland Pesch1-12/+12
1993-05-15 * Makefile.in (underscore.c): Automatically generatePer Bothner1-4/+33
(using nm) a file with the variable prepends_underscore. * Makefile.in (c++filt): Link underscore.o with cplus-dem.o so that initial underscores get removed iff appropriate. * binutils.texi: Preliminary documentation for c++filt. * Makefile.in, binutils.texi: Set to version 2.2.
1993-05-12 * objcopy.c: Renamed from copy.c, updated comments accordingly.Ian Lance Taylor1-24/+24
* Makefile.in, binutils.texi: Renamed copy to objcopy. * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for rename of copy to objcopy.
1993-05-11 * binutils.texi (strip, -v option): Fix typo.Per Bothner1-1/+1
1993-04-30Fix typo.David MacKenzie1-1/+1
1993-04-29Fix up usage summaries and examples. Document a few missing options.David MacKenzie1-26/+34
1993-04-29Fix use of @dots and strip usage message.David MacKenzie1-23/+30