diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-18 17:28:40 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-18 17:28:40 +0000 |
commit | 7ba9777807c92966f23cedd0e831740f25bb1296 (patch) | |
tree | bd9ec41ff95b2a20e9483cd441e1c8828f0b9a3e /gcc/config/darwin.c | |
parent | 21f1e711ba84209ea411dc821cd70757318894ad (diff) | |
download | gcc-7ba9777807c92966f23cedd0e831740f25bb1296.tar.gz |
2004-08-18 Andrew Pinski <apinski@apple.com>
* config/darwin.c (machopic_legitimize_pic_address): Only set MEM_READONLY_P
in the non TARGET_TOC case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86194 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r-- | gcc/config/darwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 1c308bb5eac..977a4f78bf2 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -613,8 +613,8 @@ machopic_legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg) #if !defined (TARGET_TOC) emit_move_insn (reg, pic_ref); pic_ref = gen_rtx_MEM (GET_MODE (orig), reg); -#endif MEM_READONLY_P (pic_ref) = 1; +#endif } else { |