From: Bob Wilson Date: Fri, 10 Feb 2006 01:02:12 +0000 (+0000) Subject: * config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21af2bbd7384597a33a87f43df022222d962b80c;p=binutils-gdb.git * config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for each relaxation step. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index b6fd6b5cf55..e3e155fee63 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2006-02-09 David Heine + + * config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for + each relaxation step. + 2006-02-09 Eric Botcazou * configure.in (CHECK_DECLS): Add vsnprintf. diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index e4d73bf9a59..ac9274b49e8 100644 --- a/gas/config/tc-xtensa.c +++ b/gas/config/tc-xtensa.c @@ -3563,10 +3563,10 @@ xg_assembly_relax (IStack *istack, /* Walk through all of the single instruction expansions. */ while (xg_is_single_relaxable_insn (¤t_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);