OSDN Git Service

gcc:
authorro@138bc75d-0d04-0410-961f-82ee72b054a4 <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 09:03:29 +0000 (09:03 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:40:10 +0000 (09:40 +0900)
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
libgcc/ChangeLog
libgcc/config.host

index 70c8a8f..777fc2c 100644 (file)
@@ -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"
index 677753e..b2fe535 100644 (file)
@@ -1,3 +1,14 @@
+2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+           Uros Bizjak <ubizjak@gmail.com>
+
+       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 <howarth@bromo.med.uc.edu>
 
        PR c/43553
index 1e76b19..86159b7 100644 (file)
@@ -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