From: Bob Wilson Date: Tue, 28 Aug 2007 18:43:03 +0000 (+0000) Subject: 2007-08-28 David Heine X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c5d6806e819d85f3916dabcca027912dd26f84c;p=binutils-gdb.git 2007-08-28 David Heine * elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when narrowing instructions. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0fb40788f67..b4e0a1d4a30 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2007-08-28 David Heine + + * elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when + narrowing instructions. + 2007-08-28 Mark Shinwell Joseph Myers diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index 2531df5810d..2ade49f0dd5 100644 --- a/bfd/elf32-xtensa.c +++ b/bfd/elf32-xtensa.c @@ -6926,6 +6926,8 @@ compute_ebb_actions (ebb_constraint *ebb_table) bad_alignment = FALSE; break; } + if (new_action->do_action) + removed_bytes += new_action->removed_bytes; } if (!bad_alignment) {