* configure.tgt (i386-*-cygwin): Handle x86_64 cygwin.
authorKai Tietz <kai.tietz@onevision.com>
Fri, 19 Apr 2013 09:10:28 +0000 (09:10 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Fri, 19 Apr 2013 09:10:28 +0000 (09:10 +0000)
gas/ChangeLog
gas/configure.tgt

index 6d3c152ba162273c89cfa38c21f4df52db091720..8804bd5af26a5c6cd6364ba164ea06ee248b4ea5 100644 (file)
@@ -1,3 +1,7 @@
+2013-04-19  Kai Tietz  <ktietz@redhat.com>
+
+       * configure.tgt (i386-*-cygwin): Handle x86_64 cygwin.
+
 2013-04-15  Julian Brown  <julian@codesourcery.com>
 
        * expr.c (add_to_result, subtract_from_result): Make global.
index 445bab5d6f66b565a123b6d40150cf377cf1c9f5..da6f65a184a7ba0421accf0848639f012dedfa55 100644 (file)
@@ -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