[patch gas]: Add missing target-specifiers for 64-bit cygwin
Kai Tietz
ktietz70@googlemail.com
Thu Apr 18 15:41:00 GMT 2013
Hi,
ChangeLog
2013-04-18 Kai Tietz <ktietz@redhat.com>
* configure.tgt (i386-*-cygwin): Handle x86_64 cygwin.
Tested for x86_64-pc-cygwin. Ok for apply?
Regards,
Kai
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gas/configure.tgt,v
retrieving revision 1.86
diff -p -u -r1.86 configure.tgt
--- configure.tgt 15 Feb 2013 09:36:32 -0000 1.86
+++ configure.tgt 18 Apr 2013 15:37:54 -0000
@@ -254,7 +254,11 @@ case ${generic_target} in
i386-*-msdos*) fmt=aout ;;
i386-*-moss*) fmt=elf ;;
i386-*-pe) fmt=coff em=pe ;;
- i386-*-cygwin*) fmt=coff em=pe ;;
+ i386-*-cygwin*)
+ case ${cpu} in
+ x86_64*) fmt=coff em=pep ;;
+ i*) fmt=coff em=pe ;;
+ esac ;;
i386-*-interix*) fmt=coff em=interix ;;
i386-*-mingw*)
case ${cpu} in
More information about the Binutils
mailing list