This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH objcopy] remove `-B' `binary' requirement
On Thu, Sep 10, 2009 at 01:48:07AM +0200, Philippe De Muyter wrote:
> + * obcopy.c (copy_object): New parameter `input_arch', architecture
> + of input file, if not specified in input file itself; all callers
> + updated; `binary_architecture' hack removed.
> + (copy_archive, copy_file): New parameter `input_arch', for
> + `copy_object' usage.
> + (copy_main): Accept `-B' (`--binary-architecture') option also
> + for any arch-less input ifile format, not only `binary'; remove
> + bfd_external_binary_architecture hack; instead, add `input_arch'
> + to calls to `copy_file'.
> + * windres.c, windmc.c : Obsolete and useless external references
> + to `bfd_external_binary_architecture' or `bfd_external_machine'
> + removed.
OK if you've run the testsuite without seeing any regressions.
--
Alan Modra
Australia Development Lab, IBM