This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR target/39634 powerpc64-linux libgcc

On Sun, Apr 05, 2009 at 01:30:06PM +0930, Alan Modra wrote:
> 	* config.gcc: Merge powerpc-*-linux* and powerpc64-*-linux*.

The above had the unintended consequence of something like
.../configure --target=powerpc64-linux --with-cpu=default32
result in a 32-bit only build.  I'm committing the following as an
obvious fix.

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

Index: gcc/config.gcc
--- gcc/config.gcc	(revision 145794)
+++ gcc/config.gcc	(working copy)
@@ -1806,10 +1806,11 @@ powerpc-*-linux* | powerpc64-*-linux*)
 	    	test x$with_cpu != x || cpu_is_64bit=yes
+		maybe_biarch=always
 	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"

Alan Modra
Australia Development Lab, IBM

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]