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: Mainline and branch: --enable-targets=all dead on cygwin


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


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