* config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for
authorBob Wilson <bob.wilson@acm.org>
Fri, 10 Feb 2006 01:02:12 +0000 (01:02 +0000)
committerBob Wilson <bob.wilson@acm.org>
Fri, 10 Feb 2006 01:02:12 +0000 (01:02 +0000)
each relaxation step.

gas/ChangeLog
gas/config/tc-xtensa.c

index b6fd6b5cf55e31567bfc8a8728cccf3666bc0a87..e3e155fee63b0302bcc48aee5445e5dde712cff1 100644 (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.
index e4d73bf9a5993926360e9b46f26ff5b569b6da22..ac9274b49e87791f02d1bb9f774f7d76acb9ab95 100644 (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);