Commit f9b0ac3b by Andrew Pinski Committed by Andrew Pinski

darwin.c (machopic_legitimize_pic_address): Only set MEM_READONLY_P in the non TARGET_TOC case.

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.

From-SVN: r86194
parent f822d252
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.
2004-08-18 Zack Weinberg <zack@codesourcery.com>
* rtl.def (NIL): Delete.
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment