sh.c (prepare_move_operands): Emit a use of r12 for non-PIC TLS_MODEL_INITIAL_EXEC case.
* config/sh/sh.c (prepare_move_operands): Emit a use of r12 for non-PIC TLS_MODEL_INITIAL_EXEC case. From-SVN: r90172
This commit is contained in:
parent
68daef2a0a
commit
b741fa00f6
@ -1,3 +1,8 @@
|
||||
2004-11-06 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* config/sh/sh.c (prepare_move_operands): Emit a use of r12
|
||||
for non-PIC TLS_MODEL_INITIAL_EXEC case.
|
||||
|
||||
2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* expmed.c: Fix a comment typo.
|
||||
|
@ -1041,7 +1041,11 @@ prepare_move_operands (rtx operands[], enum machine_mode mode)
|
||||
|
||||
case TLS_MODEL_INITIAL_EXEC:
|
||||
if (! flag_pic)
|
||||
emit_insn (gen_GOTaddr2picreg ());
|
||||
{
|
||||
emit_insn (gen_GOTaddr2picreg ());
|
||||
emit_insn (gen_rtx_USE (VOIDmode, gen_rtx_REG (SImode,
|
||||
PIC_REG)));
|
||||
}
|
||||
tga_op1 = no_new_pseudos ? op0 : gen_reg_rtx (Pmode);
|
||||
tmp = gen_sym2GOTTPOFF (op1);
|
||||
emit_insn (gen_tls_initial_exec (tga_op1, tmp));
|
||||
|
Loading…
Reference in New Issue
Block a user