From 5790f80a061b3ebad71f91580ec95146e75153ca Mon Sep 17 00:00:00 2001 From: bje Date: Tue, 13 Jan 2009 11:53:41 +0000 Subject: [PATCH] * 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 --- libgcc/ChangeLog | 6 ++++++ libgcc/config.host | 8 ++++---- libgcc/config/t-softfp | 14 ++++++++++++++ 3 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 libgcc/config/t-softfp 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 + + * 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 * 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 -- 2.11.0