mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
* config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
when checking if xg_resolve_literals needs to be called. * config/tc-xtensa.h: Fix spelling typo in a comment.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2005-03-10 Bob Wilson <bob.wilson@acm.org>
|
||||||
|
|
||||||
|
* config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
|
||||||
|
when checking if xg_resolve_literals needs to be called.
|
||||||
|
* config/tc-xtensa.h: Fix spelling typo in a comment.
|
||||||
|
|
||||||
2005-03-10 Jan Beulich <jbeulich@novell.com>
|
2005-03-10 Jan Beulich <jbeulich@novell.com>
|
||||||
|
|
||||||
* config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
|
* config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
|
||||||
|
@ -6145,7 +6145,7 @@ finish_vinsn (vliw_insn *vinsn)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (j = 0; j < slotstack.ninsn - 1; j++)
|
for (j = 0; j < slotstack.ninsn; j++)
|
||||||
{
|
{
|
||||||
TInsn *insn = &slotstack.insn[j];
|
TInsn *insn = &slotstack.insn[j];
|
||||||
if (insn->insn_type == ITYPE_LITERAL)
|
if (insn->insn_type == ITYPE_LITERAL)
|
||||||
@ -6155,8 +6155,10 @@ finish_vinsn (vliw_insn *vinsn)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
assert (insn->insn_type == ITYPE_INSN);
|
||||||
if (lit_sym)
|
if (lit_sym)
|
||||||
xg_resolve_literals (insn, lit_sym);
|
xg_resolve_literals (insn, lit_sym);
|
||||||
|
if (j != slotstack.ninsn - 1)
|
||||||
emit_single_op (insn);
|
emit_single_op (insn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -201,7 +201,7 @@ struct xtensa_frag_type
|
|||||||
first time through a relaxation.... */
|
first time through a relaxation.... */
|
||||||
unsigned int relax_seen : 1;
|
unsigned int relax_seen : 1;
|
||||||
|
|
||||||
/* Infomation that is needed in the object file and set when known. */
|
/* Information that is needed in the object file and set when known. */
|
||||||
unsigned int is_literal : 1;
|
unsigned int is_literal : 1;
|
||||||
unsigned int is_loop_target : 1;
|
unsigned int is_loop_target : 1;
|
||||||
unsigned int is_branch_target : 1;
|
unsigned int is_branch_target : 1;
|
||||||
|
Reference in New Issue
Block a user