* config/tc-mips.c (append_insn): If we emit a nop during a relax
sequence, increase the size of the sequence.
This commit is contained in:
parent
42581a2496
commit
dd22970fb5
@ -1,5 +1,8 @@
|
|||||||
2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
|
2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
|
||||||
|
|
||||||
|
* config/tc-mips.c (append_insn): If we emit a nop during a relax
|
||||||
|
sequence, increase the size of the sequence.
|
||||||
|
|
||||||
* config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
|
* config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
|
||||||
use CPU_RM9000.
|
use CPU_RM9000.
|
||||||
|
|
||||||
|
@ -2542,6 +2542,8 @@ append_insn (struct mips_cl_insn *ip, expressionS *address_expr,
|
|||||||
instruction at the destination, put it in the delay
|
instruction at the destination, put it in the delay
|
||||||
slot, and bump the destination address. */
|
slot, and bump the destination address. */
|
||||||
emit_nop ();
|
emit_nop ();
|
||||||
|
if (mips_relax.sequence)
|
||||||
|
mips_relax.sizes[mips_relax.sequence - 1] += 4;
|
||||||
/* Update the previous insn information. */
|
/* Update the previous insn information. */
|
||||||
prev_prev_insn = *ip;
|
prev_prev_insn = *ip;
|
||||||
prev_insn.insn_mo = &dummy_opcode;
|
prev_insn.insn_mo = &dummy_opcode;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user