From 45d13ef4d755778aba78157a962f49f6fd1eeb98 Mon Sep 17 00:00:00 2001 From: ktietz Date: Wed, 27 Mar 2013 21:59:10 +0000 Subject: [PATCH] 2013-03-27 Kai Tietz * config.host: Add support for cygwin x64 target. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197176 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgcc/ChangeLog | 5 +++++ libgcc/config.host | 20 +++++++++++++++++++- libgcc/configure | 6 ++++-- 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index fa8bffd6c60..0d581bfcfa1 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2013-03-27 Kai Tietz + + * config.host: Add support for cygwin x64 target. + * configure: Regenerated. + 2013-03-26 Walter Lee * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables diff --git a/libgcc/config.host b/libgcc/config.host index 60340a6b7b0..4f1a5bdac02 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 1425df6c0de..bb36889ae56 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 ;; *) -- 2.11.4.GIT