OSDN Git Service

* config/t-softfp: New file.
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2009 11:53:41 +0000 (11:53 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2009 11:53:41 +0000 (11:53 +0000)
* config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
(powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143334 138bc75d-0d04-0410-961f-82ee72b054a4

libgcc/ChangeLog
libgcc/config.host
libgcc/config/t-softfp [new file with mode: 0644]

index 2f0de7e..4986c34 100644 (file)
@@ -1,3 +1,9 @@
+2009-01-13  Ben Elliston  <bje@au.ibm.com>
+
+       * config/t-softfp: New file.
+       * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
+       (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
+
 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * config.host: Add m32r*-*-rtems*.
index f364469..c7c7e99 100644 (file)
@@ -437,10 +437,10 @@ pdp11-*-*)
 picochip-*-*)
         ;;
 powerpc64-*-linux*)
-       tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
+       tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
        ;;
 powerpc64-*-gnu*)
-       tmake_file="${tmake_file} rs6000/t-ldbl128"
+       tmake_file="${tmake_file} rs6000/t-ldbl128 t-softfp"
        ;;
 powerpc-*-darwin*)
        ;;
@@ -468,10 +468,10 @@ powerpc-*-linux*altivec*)
        tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
        ;;
 powerpc-*-linux*spe*)
-       tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
+       tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
        ;;
 powerpc-*-linux*)
-       tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128"
+       tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
        ;;
 powerpc-*-gnu-gnualtivec*)
        tmake_file="${tmake_file} rs6000/t-ldbl128"
diff --git a/libgcc/config/t-softfp b/libgcc/config/t-softfp
new file mode 100644 (file)
index 0000000..5d67da0
--- /dev/null
@@ -0,0 +1,14 @@
+# Disable missing prototype and type limit warnings.  The prototypes
+# for the functions in the soft-fp files have not been brought across
+# from glibc.
+
+# cfr. srcdirify in gcc/Makefile.in
+soft-fp-files = $(filter $(gcc_srcdir)/config/soft-fp/%, $(LIB2ADD)) \
+       $(filter $(gcc_objdir)/config/soft-fp/%, $(LIB2ADD))
+
+soft-fp-objects-base = $(basename $(notdir $(soft-fp-files)))
+
+soft-fp-objects = $(addsuffix $(objext), $(soft-fp-objects-base)) \
+  $(addsuffix _s$(objext), $(soft-fp-objects-base))
+
+$(soft-fp-objects) : INTERNAL_CFLAGS += -Wno-missing-prototypes -Wno-type-limits