From 3ea4021d72bd60eb44d739b2a1f1384ac34cb74b Mon Sep 17 00:00:00 2001 From: "ro@138bc75d-0d04-0410-961f-82ee72b054a4" Date: Wed, 31 Mar 2010 09:03:29 +0000 Subject: [PATCH 1/1] gcc: PR target/39048 * config.gcc (i[34567]86-*-solaris2*): Add i386/t-fprules-softfp and soft-fp/t-softfp to tmake_file. * config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Redefine. (LIBGCC2_TF_CEXT): Define. (TF_SIZE): Define. libgcc: PR target/39048 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86 like other remaining 32-bit x86 OSes. * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun assembler syntax. * config/i386/libgcc-sol2.ver: New file. * config/i386/t-sol2 (SHLIB_MAPFILES): Add it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157854 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/i386/sol2.h | 6 ++++++ libgcc/ChangeLog | 11 +++++++++++ libgcc/config.host | 7 +++---- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h index 70c8a8f6744..777fc2cf129 100644 --- a/gcc/config/i386/sol2.h +++ b/gcc/config/i386/sol2.h @@ -165,4 +165,10 @@ along with GCC; see the file COPYING3. If not see #define USE_HIDDEN_LINKONCE 0 #endif +/* Put all *tf routines in libgcc. */ +#undef LIBGCC2_HAS_TF_MODE +#define LIBGCC2_HAS_TF_MODE 1 +#define LIBGCC2_TF_CEXT q +#define TF_SIZE 113 + #define MD_UNWIND_SUPPORT "config/i386/sol2-unwind.h" diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 677753efc07..b2fe53578be 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,14 @@ +2010-03-31 Rainer Orth + Uros Bizjak + + PR target/39048 + * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86 + like other remaining 32-bit x86 OSes. + * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun + assembler syntax. + * config/i386/libgcc-sol2.ver: New file. + * config/i386/t-sol2 (SHLIB_MAPFILES): Add it. + 2010-03-30 Jack Howarth PR c/43553 diff --git a/libgcc/config.host b/libgcc/config.host index 1e76b19b0bf..86159b77de6 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -189,7 +189,7 @@ alpha*-*-netbsd*) ;; alpha*-*-openbsd*) ;; -alpha*-dec-osf5.1*) +alpha*-dec-osf[45]*) ;; alpha64-dec-*vms*) tmake_file="vms/t-vms vms/t-vms64 alpha/t-vms" @@ -357,7 +357,7 @@ ia64-hp-*vms*) ;; iq2000*-*-elf*) ;; -lm32-*-elf*|lm32-*-rtems*) +lm32-*-elf*) extra_parts="crtbegin.o crtend.o crti.o crtn.o" tmake_file="lm32/t-lm32 lm32/t-elf t-softfp" ;; @@ -535,7 +535,7 @@ sparc-*-linux*) # SPARC's running GNU/Linux, libc6 extra_parts="$extra_parts crtfastmath.o" tmake_file="${tmake_file} sparc/t-crtfm" ;; -sparc-*-rtems* | sparc64-*-rtems* ) +sparc-*-rtems*) ;; sparc64-*-solaris2* | sparcv9-*-solaris2*) ;; @@ -600,7 +600,6 @@ case ${host} in i[34567]86-*-darwin* | x86_64-*-darwin* | \ i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \ i[34567]86-*-linux* | x86_64-*-linux* | \ - i[34567]86-*-gnu* | \ i[34567]86-*-solaris2* | \ i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*) if test "${host_address}" = 32; then -- 2.11.0