2007-08-28 David Heine <dlheine@tensilica.com>

* elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when
	narrowing instructions.
This commit is contained in:
Bob Wilson 2007-08-28 18:43:03 +00:00
parent d9a5e5e5c9
commit 5c5d6806e8
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-08-28 David Heine <dlheine@tensilica.com>
* elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when
narrowing instructions.
2007-08-28 Mark Shinwell <shinwell@codesourcery.com> 2007-08-28 Mark Shinwell <shinwell@codesourcery.com>
Joseph Myers <joseph@codesourcery.com> Joseph Myers <joseph@codesourcery.com>

View File

@ -6926,6 +6926,8 @@ compute_ebb_actions (ebb_constraint *ebb_table)
bad_alignment = FALSE; bad_alignment = FALSE;
break; break;
} }
if (new_action->do_action)
removed_bytes += new_action->removed_bytes;
} }
if (!bad_alignment) if (!bad_alignment)
{ {