This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
hppa-linux support 10
- To: gcc-patches at gcc dot gnu dot org
- Subject: hppa-linux support 10
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Wed, 4 Apr 2001 20:47:05 +1000 (EST)
A resend of
Date: Thu, 22 Mar 2001 23:13:09 +1100 (EST)
From: Alan Modra <alan@linuxcare.com.au>
To: law@redhat.com
cc: gcc-bugs@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: Re: PA move_operand
Sorry, can't give a url, gcc.gnu.org seems to be down again.
* pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM SFmode and
DFmode addresses.
Alan Modra
--
Linuxcare
diff -urpN -xCVS -x*~ -x.#* gcc-current/gcc/config/pa/pa.h gcc-new/gcc/config/pa/pa.h
--- gcc-current/gcc/config/pa/pa.h Tue Apr 3 16:42:05 2001
+++ gcc-new/gcc/config/pa/pa.h Sat Mar 31 22:11:39 2001
@@ -1329,7 +1332,11 @@ extern int may_call_alloca;
else if (GET_CODE (X) == LO_SUM \
&& GET_CODE (XEXP (X, 0)) == REG \
&& REG_OK_FOR_BASE_P (XEXP (X, 0)) \
- && GET_CODE (XEXP (X, 1)) == UNSPEC) \
+ && GET_CODE (XEXP (X, 1)) == UNSPEC \
+ && (TARGET_SOFT_FLOAT \
+ || TARGET_PA_20 \
+ || ((MODE) != SFmode \
+ && (MODE) != DFmode))) \
goto ADDR; \
}