aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.1
AgeCommit message (Collapse)AuthorFilesLines
1994-10-25 * objcopy.c (gap_fill): Explicitly initialize, for clarity.Ian Lance Taylor1-9/+16
(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-0/+6
(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-7/+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/+31
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-4/+42
(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-08-11 Add support for removing named sections to objcopy and strip.Ian Lance Taylor1-0/+6
* 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-26 * objcopy.c (filter_bytes): New function.David MacKenzie1-1/+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-06 * binutils.texi: Add a chapter summarizing the ways to selectDavid MacKenzie1-9/+9
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-17 * nlmconv.1: new man pageJeffrey Osier1-39/+21
* objcopy.1: fixed format errors
1993-11-13fix NAME hyphenDavid MacKenzie1-1/+1
1993-06-28 * Makefile.in: Note dependencies on bucomm.h.David MacKenzie1-54/+57
(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-03 * c++filt.1, objcopy.1: new man pagesJeffrey Osier1-0/+142