Fix bug in interwork stubs from thumb to arm

This commit is contained in:
Nick Clifton 2000-01-13 22:55:12 +00:00
parent 9a968f4332
commit 756fa1b9b7
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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);