diff options
author | Nick Clifton <nickc@redhat.com> | 2000-01-13 22:55:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-01-13 22:55:12 +0000 |
commit | 756fa1b9b743ac96fc0f870d098002d070fee082 (patch) | |
tree | f8e109937a81888d82897415be98083b9c2869e3 /bfd | |
parent | 9a968f43323ca8e2e800d0382bac9fbf9ad9b396 (diff) | |
download | gdb-756fa1b9b743ac96fc0f870d098002d070fee082.zip gdb-756fa1b9b743ac96fc0f870d098002d070fee082.tar.gz gdb-756fa1b9b743ac96fc0f870d098002d070fee082.tar.bz2 |
Fix bug in interwork stubs from thumb to arm
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-arm.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ff57158..c37ff0e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2000-01-13 Nick Clifton <nickc@cygnus.com> + + * elf32-arm.h (elf32_thumb_to_arm_stub): Fix offset in branch to + interwork thumb to arm stub. + 2000-01-13 Timothy Wall (twall@tiac.net> * archures.c (bfd_octets_per_byte): New function: Return diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 095e0cd..6efc7c8 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -894,7 +894,7 @@ elf32_thumb_to_arm_stub (info, name, input_bfd, output_bfd, input_section, + my_offset - (input_section->output_offset + offset + addend) - - 4; + - 8; tmp = bfd_get_32 (input_bfd, hit_data - input_section->vma); |