aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.tgt
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 /gas/configure.tgt
parent2d0a6933a51518efa92aa23ad4ec0a2c31bc907f (diff)
downloadgdb-cb948fc00e2e37d0eb00fe0a822fbc38394759f4.zip
gdb-cb948fc00e2e37d0eb00fe0a822fbc38394759f4.tar.gz
gdb-cb948fc00e2e37d0eb00fe0a822fbc38394759f4.tar.bz2
* configure.tgt (i386-*-cygwin): Handle x86_64 cygwin.
Diffstat (limited to 'gas/configure.tgt')
-rw-r--r--gas/configure.tgt6
1 files changed, 5 insertions, 1 deletions
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