* config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for

each relaxation step.
This commit is contained in:
Bob Wilson 2006-02-10 01:02:12 +00:00
parent f2098f1341
commit 21af2bbd73
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-02-09 David Heine <dlheine@tensilica.com>
* config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for
each relaxation step.
2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
* configure.in (CHECK_DECLS): Add vsnprintf.

View File

@ -3563,10 +3563,10 @@ xg_assembly_relax (IStack *istack,
/* Walk through all of the single instruction expansions. */
while (xg_is_single_relaxable_insn (&current_insn, &single_target, FALSE))
{
steps_taken++;
if (xg_symbolic_immeds_fit (&single_target, pc_seg, pc_frag, pc_offset,
stretch))
{
steps_taken++;
if (steps_taken >= min_steps)
{
istack_push (istack, &single_target);