This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Mainline and branch: --enable-targets=all dead on cygwin
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: 'Nick Clifton' <nickc at redhat dot com>, binutils at sourceware dot org
- Date: Wed, 26 Apr 2006 21:01:21 +0930
- Subject: Re: Mainline and branch: --enable-targets=all dead on cygwin
- References: <444F3D83.8050309@redhat.com> <05cf01c66915$8c3ff7f0$a501a8c0@CAM.ARTIMI.COM>
On Wed, Apr 26, 2006 at 10:41:08AM +0100, Dave Korn wrote:
> I just filed a PR as it was still happening to me last night. Maybe
> something in my cygwin installation isn't fully up-to-date; I'll make sure
> I've got the latest everything and double-check.
It's a bug. Try this.
* config/obj-coff.h (TARGET_FORMAT <TC_I386>): Wrap all with #ifndef.
Index: gas/config/obj-coff.h
===================================================================
RCS file: /cvs/src/src/gas/config/obj-coff.h,v
retrieving revision 1.34
diff -u -p -r1.34 obj-coff.h
--- gas/config/obj-coff.h 27 Oct 2005 07:40:07 -0000 1.34
+++ gas/config/obj-coff.h 26 Apr 2006 11:26:01 -0000
@@ -59,14 +59,14 @@
#ifdef TC_I386
#include "coff/i386.h"
+#ifndef TARGET_FORMAT
#ifdef TE_PE
#define TARGET_FORMAT "pe-i386"
-#endif
-
-#ifndef TARGET_FORMAT
+#else
#define TARGET_FORMAT "coff-i386"
#endif
#endif
+#endif
#ifdef TC_M68K
#include "coff/m68k.h"
--
Alan Modra
IBM OzLabs - Linux Technology Centre