From 756fa1b9b743ac96fc0f870d098002d070fee082 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 13 Jan 2000 22:55:12 +0000 Subject: [PATCH] Fix bug in interwork stubs from thumb to arm --- bfd/ChangeLog | 5 +++++ bfd/elf32-arm.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ff57158b5f9..c37ff0eb02d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2000-01-13 Nick Clifton + + * 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 095e0cdf2ef..6efc7c834d0 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); -- 2.30.2