aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-arm.h2
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);