From c90c5fb5a5e09a6405c7dbfa145bf3a9baf70fad Mon Sep 17 00:00:00 2001
From: Alan Modra <amodra@bigpond.net.au>
Date: Thu, 9 Apr 2009 04:47:05 +0000
Subject: [PATCH] re PR target/39634 (powerpc64 libgcc contains useless softfp
 functions)

	PR target/39634
	* config.gcc (powerpc64-*-linux*): Always build biarch.

From-SVN: r145795
---
 gcc/ChangeLog  | 5 +++++
 gcc/config.gcc | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index feedc5c4253d..581337c9d392 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-09  Alan Modra  <amodra@bigpond.net.au>
+
+	PR target/39634
+	* config.gcc (powerpc64-*-linux*): Always build biarch.
+
 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
 
 	PR c/39613
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 224742455208..21f4920818d7 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1806,10 +1806,11 @@ powerpc-*-linux* | powerpc64-*-linux*)
 		;;
 	    powerpc64-*-linux*)
 	    	test x$with_cpu != x || cpu_is_64bit=yes
+		maybe_biarch=always
 		;;
 	esac
 	case ${maybe_biarch}:${enable_targets}:${cpu_is_64bit} in
-	    yes:*powerpc64* | yes:all:* | yes:*:yes)
+	    always:* | yes:*powerpc64* | yes:all:* | yes:*:yes)
 		if test x$cpu_is_64bit = xyes; then
 		    tm_file="${tm_file} rs6000/default64.h"
 		fi
-- 
GitLab