* config/t-softfp: New file.
* config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
(powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
From-SVN: r143334
+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*.
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*)
;;
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"
--- /dev/null
+# 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