* config/tc-mips.c (prev_nop_frag): New static variable.
authorIan Lance Taylor <ian@airs.com>
Thu, 13 Feb 1997 17:25:10 +0000 (17:25 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 13 Feb 1997 17:25:10 +0000 (17:25 +0000)
commit4a1cb5078be163068d0fc324a354efbbc46b247f
tree84532a3ccd3d893d024db895c8fc68add7ba90ac
parent9cd4e6cc51bb637ec8e6aa1ca1d44c3520cc01d5
* config/tc-mips.c (prev_nop_frag): New static variable.
(prev_nop_frag_holds): New static variable.
(prev_nop_frag_required): New static variable.
(prev_nop_frag_since): New static variable.
(append_insn): If we aren't reordering, and prev_nop_frag is not
NULL, and we don't need any nops, then decrease the size of
prev_nop_frag.  Don't insert nops because of instructions in
noreorder sections.  Remember whether the previous instructions
where in noreorder sections even when not reordering.
(mips_no_prev_insn): Add preserver parameter.  Change all
callers.  Refer prev_nop_frag variables when appropriate.
(mips_emit_delays): Set up prev_nop_frag.
(s_mipsset): Clear prev_nop_frag if reordering.
gas/ChangeLog
gas/config/tc-mips.c