]> gcc.gnu.org Git - gcc.git/commitdiff
config.host: Add support for cygwin x64 target.
authorKai Tietz <ktietz@redhat.com>
Wed, 27 Mar 2013 21:59:10 +0000 (22:59 +0100)
committerKai Tietz <ktietz@gcc.gnu.org>
Wed, 27 Mar 2013 21:59:10 +0000 (22:59 +0100)
2013-03-27  Kai Tietz  <ktietz@redhat.com>

* config.host: Add support for cygwin x64 target.
* configure: Regenerated.

From-SVN: r197176

libgcc/ChangeLog
libgcc/config.host
libgcc/configure

index fa8bffd6c6096c1aba52dcaeefacfbf41d5c1c52..0d581bfcfa141dd4cfb45c10e8095fb401af8920 100644 (file)
@@ -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
index 60340a6b7b03fcfedc9a9769316a12b58686b3eb..4f1a5bdac02dc1e57fd24b06fe9a67e523dc195e 100644 (file)
@@ -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"
index 1425df6c0de0f70260ec1b247abdcbf3ed372adb..bb36889ae56133225a51c5e68cda35f162563c73 100644 (file)
@@ -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
       ;;
     *)
This page took 0.088518 seconds and 5 git commands to generate.