* objcopy.c (use_alt_mach_code): Change type to unsigned long.
authorNick Clifton <nickc@redhat.com>
Tue, 28 Feb 2006 16:09:01 +0000 (16:09 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 28 Feb 2006 16:09:01 +0000 (16:09 +0000)
commitf9d4ad2a13ff24a5095d19a59784517b274c45dc
tree05b733b64cdfd1bc306ae97c00291dea9041fa56
parent9f6f925e1e1a5aee784d0e04663e3c7a4dc76f55
* objcopy.c (use_alt_mach_code): Change type to unsigned long.
   (copy_object):  If bfd_alt_mach_code fails emit a more helpful message
   and if the target architecture is ELF use the alternative as replacement
   value for the e_machine number.
   (copy_main): Use strtoul to parse the number provided with the
   --alt-mach-code switch.
* doc/binutils.texi (--alt-mach-code): Document that this switch can now
    set the absolute e_machine value.
binutils/ChangeLog
binutils/doc/binutils.texi
binutils/objcopy.c