This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch gas]: Add missing target-specifiers for 64-bit cygwin
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: Binutils <binutils at sourceware dot org>
- Cc: Nick Clifton <nickc at redhat dot com>
- Date: Thu, 18 Apr 2013 17:41:00 +0200
- Subject: [patch gas]: Add missing target-specifiers for 64-bit cygwin
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