Patchwork fix libgcc configure for powerpc-*-eabispe

login
register
mail settings
Submitter Janis Johnson
Date July 9, 2013, 8:23 p.m.
Message ID <51DC7129.4050602@mentor.com>
Download mbox | patch
Permalink /patch/257864/
State New
Headers show

Comments

Janis Johnson - July 9, 2013, 8:23 p.m.
Tests for powerpc-none-eabispe fail with lots of undefined symbols for
_*_df and for __extendsfdf2, __make_fp, and __unordsf2.  This patch
includes float support in libgcc for the target and eliminates those
test failures.

OK for mainline and the 4.8 branch?  Tested with a cross build of
powerpc-none-eabispe from i686-pc-linux-gnu.

Janis
2013-07-09  Janis Johnson  <janisjo@codesourcery.com>

	* config.host (powerpc-*-eabispe*: Add t-fdpbit to tmake_file.
David Edelsohn - July 9, 2013, 8:43 p.m.
On Tue, Jul 9, 2013 at 4:23 PM, Janis Johnson <janis_johnson@mentor.com> wrote:
> Tests for powerpc-none-eabispe fail with lots of undefined symbols for
> _*_df and for __extendsfdf2, __make_fp, and __unordsf2.  This patch
> includes float support in libgcc for the target and eliminates those
> test failures.
>
> OK for mainline and the 4.8 branch?  Tested with a cross build of
> powerpc-none-eabispe from i686-pc-linux-gnu.

Okay.

Thanks, David

Patch

Index: libgcc/config.host
===================================================================
--- libgcc/config.host	(revision 200845)
+++ libgcc/config.host	(working copy)
@@ -869,7 +869,7 @@ 
 	tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff"
 	;;
 powerpc-*-eabispe*)
-	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic"
+	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
 	extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
 	;;
 powerpc-*-eabisimaltivec*)