aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2013-04-19 09:10:28 +0000
committerKai Tietz <kai.tietz@onevision.com>2013-04-19 09:10:28 +0000
commitcb948fc00e2e37d0eb00fe0a822fbc38394759f4 (patch)
tree271116d0e886272c0c835dffff86269e87302548
parent2d0a6933a51518efa92aa23ad4ec0a2c31bc907f (diff)
downloadgdb-cb948fc00e2e37d0eb00fe0a822fbc38394759f4.zip
gdb-cb948fc00e2e37d0eb00fe0a822fbc38394759f4.tar.gz
gdb-cb948fc00e2e37d0eb00fe0a822fbc38394759f4.tar.bz2
* configure.tgt (i386-*-cygwin): Handle x86_64 cygwin.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/configure.tgt6
2 files changed, 9 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6d3c152..8804bd5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 445bab5..da6f65a 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -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