OSDN Git Service

2007-08-28 David Heine <dlheine@tensilica.com>
authorbwilson <bwilson>
Tue, 28 Aug 2007 18:43:03 +0000 (18:43 +0000)
committerbwilson <bwilson>
Tue, 28 Aug 2007 18:43:03 +0000 (18:43 +0000)
* elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when
narrowing instructions.

bfd/elf32-xtensa.c

index 2531df5..2ade49f 100644 (file)
@@ -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)
                {