This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Misleading error message from gas/configure.tgt for generic a.out


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 ;;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]