diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index b5ddae631af..14b0e364b31 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,10 @@ +2014-10-22 Joseph Myers + + * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit + configurations. + * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end): + Remove variables. + 2014-10-22 Georg-Johann Lay * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code diff --git a/libgcc/config.host b/libgcc/config.host index cd3139f8f37..10c25f5384f 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -990,7 +990,10 @@ powerpc-*-rtems*) extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" ;; powerpc*-*-linux*) - tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-linux t-softfp-sfdf t-softfp-excl t-dfprules rs6000/t-ppc64-fp t-softfp t-slibgcc-libgcc" + tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-linux t-dfprules rs6000/t-ppc64-fp t-slibgcc-libgcc" + if test "${host_address}" = 32; then + tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp" + fi extra_parts="$extra_parts ecrti.o ecrtn.o ncrti.o ncrtn.o" md_unwind_header=rs6000/linux-unwind.h ;; diff --git a/libgcc/config/rs6000/t-ppc64-fp b/libgcc/config/rs6000/t-ppc64-fp index 1fac701fc44..26d1730bcdb 100644 --- a/libgcc/config/rs6000/t-ppc64-fp +++ b/libgcc/config/rs6000/t-ppc64-fp @@ -1,5 +1,2 @@ # Can be used unconditionally, wrapped in __powerpc64__ || __64BIT__ __ppc64__. LIB2ADD += $(srcdir)/config/rs6000/ppc64-fp.c - -softfp_wrap_start := '\#ifndef __powerpc64__' -softfp_wrap_end := '\#endif'