summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-13 11:53:41 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-13 11:53:41 +0000
commit5790f80a061b3ebad71f91580ec95146e75153ca (patch)
treefe89acc3828c535587fa5f4df1d5c8ff7eed97c4 /libgcc
parent9333b8c38ec20a9adf9ea5c0b1688c3c32bf6475 (diff)
downloadgcc-5790f80a061b3ebad71f91580ec95146e75153ca.tar.gz
* config/t-softfp: New file.
* 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
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 2f0de7efe76..4986c34789a 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 f364469d557..c7c7e990554 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 00000000000..5d67da01780
--- /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