diff options
author | Bob Wilson <bob.wilson@acm.org> | 2007-08-28 19:03:01 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2007-08-28 19:03:01 +0000 |
commit | c583408bd48ec7952644be5c189ac47bfeb09805 (patch) | |
tree | 784c2e0fdc853e365ced286060ad673dd0c220fe | |
parent | 1e4630efdd8eb7e7905cfafa8bf20bbff5aa98cc (diff) | |
download | gdb-c583408bd48ec7952644be5c189ac47bfeb09805.tar.gz |
2007-08-28 David Heine <dlheine@tensilica.com>
* elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when
narrowing instructions.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-xtensa.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ee97c8e6434..8e33bc24cf8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 Robert Sebastian Gerus <arachnist@gmail.com> * config.bfd: Add support for i[3-7]86-*-dragonfly*. 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) { |