This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR target/39634 powerpc64-linux libgcc
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org, David Edelsohn <edelsohn at gnu dot org>
- Date: Thu, 9 Apr 2009 14:17:18 +0930
- Subject: Re: PR target/39634 powerpc64-linux libgcc
- References: <20090405040006.GG15456@bubble.grove.modra.org>
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*)
;;
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
--
Alan Modra
Australia Development Lab, IBM