* config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
message. (xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.
This commit is contained in:
parent
bdd562533d
commit
d7c531cdd3
|
@ -1,3 +1,11 @@
|
||||||
|
2005-05-13 Sterling Augustine <sterling@tensilica.com>
|
||||||
|
Bob Wilson <bob.wilson@acm.org>
|
||||||
|
|
||||||
|
* config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
|
||||||
|
message.
|
||||||
|
(xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional
|
||||||
|
for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.
|
||||||
|
|
||||||
2005-05-11 Alan Modra <amodra@bigpond.net.au>
|
2005-05-11 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
|
* config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
|
||||||
|
|
|
@ -2707,12 +2707,16 @@ xtensa_insnbuf_set_operand (xtensa_insnbuf slotbuf,
|
||||||
if (xtensa_operand_is_PCrelative (xtensa_default_isa, opcode, operand)
|
if (xtensa_operand_is_PCrelative (xtensa_default_isa, opcode, operand)
|
||||||
== 1)
|
== 1)
|
||||||
as_bad_where ((char *) file, line,
|
as_bad_where ((char *) file, line,
|
||||||
_("operand %u is out of range for '%s'"), value,
|
_("operand %d of '%s' has out of range value '%u'"),
|
||||||
xtensa_opcode_name (xtensa_default_isa, opcode));
|
operand + 1,
|
||||||
|
xtensa_opcode_name (xtensa_default_isa, opcode),
|
||||||
|
value);
|
||||||
else
|
else
|
||||||
as_bad_where ((char *) file, line,
|
as_bad_where ((char *) file, line,
|
||||||
_("operand %u is invalid for '%s'"), value,
|
_("operand %d of '%s' has invalid value '%u'"),
|
||||||
xtensa_opcode_name (xtensa_default_isa, opcode));
|
operand + 1,
|
||||||
|
xtensa_opcode_name (xtensa_default_isa, opcode),
|
||||||
|
value);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7135,11 +7139,9 @@ xtensa_mark_zcl_first_insns (void)
|
||||||
/* Of course, sometimes (mostly for toy test cases) a
|
/* Of course, sometimes (mostly for toy test cases) a
|
||||||
zero-cost loop instruction is the last in a section. */
|
zero-cost loop instruction is the last in a section. */
|
||||||
if (targ_frag)
|
if (targ_frag)
|
||||||
{
|
targ_frag->tc_frag_data.is_first_loop_insn = TRUE;
|
||||||
targ_frag->tc_frag_data.is_first_loop_insn = TRUE;
|
if (fragP->fr_subtype == RELAX_CHECK_ALIGN_NEXT_OPCODE)
|
||||||
if (fragP->fr_subtype == RELAX_CHECK_ALIGN_NEXT_OPCODE)
|
frag_wane (fragP);
|
||||||
frag_wane (fragP);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue