aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2009-01-13 11:53:41 +0000
committerBen Elliston <bje@gcc.gnu.org>2009-01-13 22:53:41 +1100
commitbcf4713becbac465319095c1c42fa91d60190f30 (patch)
treefe89acc3828c535587fa5f4df1d5c8ff7eed97c4 /libgcc
parent616ea7ac83af09857863c91efa2e0379dfa6f152 (diff)
downloadgcc-bcf4713becbac465319095c1c42fa91d60190f30.zip
gcc-bcf4713becbac465319095c1c42fa91d60190f30.tar.gz
gcc-bcf4713becbac465319095c1c42fa91d60190f30.tar.bz2
t-softfp: New file.
* config/t-softfp: New file. * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp. (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise. From-SVN: r143334
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config.host8
-rw-r--r--libgcc/config/t-softfp14
3 files changed, 24 insertions, 4 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 2f0de7e..4986c34 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -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*.
diff --git a/libgcc/config.host b/libgcc/config.host
index f364469..c7c7e99 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -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
index 0000000..5d67da0
--- /dev/null
+++ b/libgcc/config/t-softfp
@@ -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