This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Misleading error message from gas/configure.tgt for generic a.out
- From: Gunther Nikl <gnikl at users dot sourceforge dot net>
- To: Alan Modra <amodra at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 24 Aug 2010 20:55:30 +0200
- Subject: Re: Misleading error message from gas/configure.tgt for generic a.out
- References: <4C2D85FE.8020109@users.sourceforge.net> <20100704132807.GT6954@bubble.grove.modra.org> <4C385DB4.6070900@users.sourceforge.net> <20100715045508.GF31087@bubble.grove.modra.org>
Sorry for this late answer.
Alan Modra wrote:
> On Sat, Jul 10, 2010 at 01:47:00PM +0200, Gunther Nikl wrote:
>> Mhm, so you are suspecting (possible serious?) differences?
>
> I was, but
>
>> This is
>> a bit surprising for me since configure.tgt lists m68k a.out targets
>> which use BFD.
>
> it's a long time since I worked on m68k and I didn't remember about
> the m68k bsd targets, or check gas/configure.tgt.
>
> So in this case it probably would be reasonable to add back an
> m68k-aout target.
Here is a patch for gas/configure.tgt which activates BFD mode for gas.
A trunk build for --target=m68k-aout with that patch installed succeed.
Regards,
Gunther
2010-08-24 Gunther Nikl <gnikl@users.sourceforge.net>
* configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
Index: gas/configure.tgt
===================================================================
RCS file: /cvs/src/src/gas/configure.tgt,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 configure.tgt
--- gas/configure.tgt 4 Aug 2010 04:21:05 -0000 1.62
+++ gas/configure.tgt 24 Aug 2010 18:43:36 -0000
@@ -259,6 +259,7 @@ case ${generic_target} in
m68hc11-*-* | m6811-*-*) fmt=elf ;;
m68hc12-*-* | m6812-*-*) fmt=elf ;;
+ m68k-*-aout) fmt=aout bfd_gas=yes ;;
m68k-*-elf*) fmt=elf ;;
m68k-*-sysv4*) fmt=elf em=svr4 ;;
m68k-*-rtems*) fmt=elf ;;