This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH objcopy] remove `-B' `binary' requirement
Hi Alan,
On Thu, Sep 10, 2009 at 10:27:15AM +0930, Alan Modra wrote:
> 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.
Test results are below, but I have no write access
Philippe
Test Run By phdm on Thu Sep 10 14:06:06 2009
Native configuration is i686-pc-linux-gnu
=== gas tests ===
Schedule of variations:
unix
=== gas Summary ===
# of expected passes 270
../as-new 2.20.51.20090909
Test Run By phdm on Thu Sep 10 14:06:13 2009
Native configuration is i686-pc-linux-gnu
=== ld tests ===
Schedule of variations:
unix
XFAIL: ld-scripts/provide-3
XFAIL: REGION_ALIAS: /archives/m68kdev/binutils/src/ld/testsuite/ld-scripts/region-alias-1.t
XFAIL: REGION_ALIAS: /archives/m68kdev/binutils/src/ld/testsuite/ld-scripts/region-alias-3.t
XFAIL: REGION_ALIAS: /archives/m68kdev/binutils/src/ld/testsuite/ld-scripts/region-alias-2.t
XFAIL: REGION_ALIAS: /archives/m68kdev/binutils/src/ld/testsuite/ld-scripts/region-alias-4.t
XFAIL: selective4
XFAIL: selective5
XFAIL: selective6
=== ld Summary ===
# of expected passes 558
# of expected failures 8
/archives/m68kdev/binutils/build/ld/ld-new 2.20.51.20090909
Test Run By phdm on Thu Sep 10 14:06:04 2009
Native configuration is i686-pc-linux-gnu
=== binutils tests ===
Schedule of variations:
unix
XFAIL: dlltool -p (execution)
UNSUPPORTED: unordered .debug_info references to .debug_ranges
UNSUPPORTED: windres/html (parse)
UNSUPPORTED: windres/lang (parse)
UNSUPPORTED: windres/messagetable (parse)
UNSUPPORTED: windres/strtab1 (parse)
UNSUPPORTED: windres/strtab2 (parse)
UNSUPPORTED: windres/version (parse)
UNSUPPORTED: windres/version_cat (parse)
=== binutils Summary ===
# of expected passes 106
# of expected failures 1
# of unsupported tests 8