aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@gcc.gnu.org>2003-12-19 23:32:44 +0000
committerFariborz Jahanian <fjahanian@gcc.gnu.org>2003-12-19 23:32:44 +0000
commit8622e235438b9b2f4d8eb72c5f1e960305e02049 (patch)
tree5bd022b2d7d7e6bf78610032bad811583c886975
parent926ce8bd97ca33f20282e7fcaa83741e67aaed16 (diff)
downloadgcc-8622e235438b9b2f4d8eb72c5f1e960305e02049.zip
gcc-8622e235438b9b2f4d8eb72c5f1e960305e02049.tar.gz
gcc-8622e235438b9b2f4d8eb72c5f1e960305e02049.tar.bz2
Added TARGET_MACHO to handle lo_sum address recognition.
Reviewed by Geoff. From-SVN: r74856
-rw-r--r--gcc/config/rs6000/rs6000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 2567470..45bb987 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -2526,7 +2526,7 @@ legitimate_lo_sum_address_p (enum machine_mode mode, rtx x, int strict)
return false;
x = XEXP (x, 1);
- if (TARGET_ELF)
+ if (TARGET_ELF || TARGET_MACHO)
{
if (DEFAULT_ABI != ABI_AIX && flag_pic)
return false;