aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Tietz <ktietz@redhat.com>2013-03-27 22:59:10 +0100
committerKai Tietz <ktietz@gcc.gnu.org>2013-03-27 22:59:10 +0100
commite9fd8c190e7bd06b08bf94db413b67c170b438c9 (patch)
treec00991b25b53ebe504c64f393cb0bca4c7c2acc2
parenteddae10ad3551cbdbe3cbd3c1ab5006792721a43 (diff)
downloadgcc-e9fd8c190e7bd06b08bf94db413b67c170b438c9.zip
gcc-e9fd8c190e7bd06b08bf94db413b67c170b438c9.tar.gz
gcc-e9fd8c190e7bd06b08bf94db413b67c170b438c9.tar.bz2
config.host: Add support for cygwin x64 target.
2013-03-27 Kai Tietz <ktietz@redhat.com> * config.host: Add support for cygwin x64 target. * configure: Regenerated. From-SVN: r197176
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/config.host20
-rw-r--r--libgcc/configure6
3 files changed, 28 insertions, 3 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index fa8bffd..0d581bf 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-27 Kai Tietz <ktietz@redhat.com>
+
+ * config.host: Add support for cygwin x64 target.
+ * configure: Regenerated.
+
2013-03-26 Walter Lee <walt@tilera.com>
* config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
diff --git a/libgcc/config.host b/libgcc/config.host
index 60340a6..4f1a5bd 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -571,6 +571,23 @@ i[34567]86-*-cygwin*)
fi
tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-cygwin i386/t-crtfm i386/t-chkstk t-dfprules"
;;
+x86_64-*-cygwin*)
+ extra_parts="crtbegin.o crtend.o crtfastmath.o"
+ # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
+ if test x$enable_sjlj_exceptions = xyes; then
+ tmake_eh_file="i386/t-sjlj-eh"
+ else
+ tmake_eh_file="i386/t-seh-eh"
+ fi
+ # Shared libgcc DLL install dir depends on cross/native build.
+ if test x${build} = x${host} ; then
+ tmake_dlldir_file="i386/t-dlldir"
+ else
+ tmake_dlldir_file="i386/t-dlldir-x"
+ fi
+ # FIXME - dj - t-chkstk used to be in here, need a 64-bit version of that
+ tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-cygwin i386/t-crtfm t-dfprules i386/t-chkstk"
+ ;;
i[34567]86-*-mingw*)
extra_parts="crtbegin.o crtend.o crtfastmath.o"
case ${target_thread_file} in
@@ -1143,7 +1160,8 @@ i[34567]86-*-darwin* | x86_64-*-darwin* | \
i[34567]86-*-linux* | x86_64-*-linux* | \
i[34567]86-*-gnu* | \
i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]* | \
- i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \
+ i[34567]86-*-cygwin* | x86_64-*-cygwin* | \
+ i[34567]86-*-mingw* | x86_64-*-mingw* | \
i[34567]86-*-freebsd* | x86_64-*-freebsd* | \
i[34567]86-*-openbsd* | x86_64-*-openbsd*)
tmake_file="${tmake_file} t-softfp-tf"
diff --git a/libgcc/configure b/libgcc/configure
index 1425df6..bb36889 100644
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -2228,7 +2228,9 @@ case "${host}" in
hppa*64*-*-hpux*)
# PIC is the default for 64-bit PA HP-UX.
;;
- i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
+ i[34567]86-*-cygwin* | x86_64-*-cygwin*)
+ ;;
+ i[34567]86-*-mingw* | x86_64-*-mingw*)
;;
i[34567]86-*-interix[3-9]*)
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
@@ -4078,7 +4080,7 @@ else
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
i?86*-*-gnu* | \
i?86*-*-mingw* | x86_64*-*-mingw* | \
- i?86*-*-cygwin*)
+ i?86*-*-cygwin* | x86_64*-*-cygwin*)
enable_decimal_float=yes
;;
*)