Commit 109480b1 by Ulrich Weigand Committed by Ulrich Weigand

s390.c (s390_emit_prologue): Use LA instead of AR to initialize GOT register.

	* config/s390/s390.c (s390_emit_prologue): Use LA instead of AR
	to initialize GOT register.

From-SVN: r67829
parent f7df23be
2003-06-12 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.c (s390_emit_prologue): Use LA instead of AR
to initialize GOT register.
2003-06-12 Roger Sayle <roger@eyesopen.com>
* fold-const.c (tree_expr_nonnegative_p): Add support for
......
......@@ -5497,8 +5497,10 @@ s390_emit_prologue ()
REG_NOTES(insn) = gen_rtx_EXPR_LIST (REG_MAYBE_DEAD, NULL_RTX,
REG_NOTES (insn));
insn = emit_insn (gen_add2_insn (pic_offset_table_rtx,
gen_rtx_REG (Pmode, BASE_REGISTER)));
got_symbol = gen_rtx_REG (Pmode, BASE_REGISTER);
got_symbol = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, got_symbol), 101);
got_symbol = gen_rtx_PLUS (Pmode, got_symbol, pic_offset_table_rtx);
insn = emit_move_insn (pic_offset_table_rtx, got_symbol);
REG_NOTES(insn) = gen_rtx_EXPR_LIST (REG_MAYBE_DEAD, NULL_RTX,
REG_NOTES (insn));
}
......
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