* objcopy.c (struct section_list): Add fields used, adjust, val.
authorIan Lance Taylor <ian@airs.com>
Tue, 18 Oct 1994 15:49:53 +0000 (15:49 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 18 Oct 1994 15:49:53 +0000 (15:49 +0000)
commit6c7ed0842d19b5160d49a73653d1aa52e776fcae
tree0f1e6880007d64f882d5ba71b324ef279f05b8fc
parent683f4743179061f53de59be3021abb8567574b37
* objcopy.c (struct section_list): Add fields used, adjust, val.
(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.
binutils/ChangeLog
binutils/binutils.texi
binutils/objcopy.1
binutils/objcopy.c