OSDN Git Service

Fix bug in interwork stubs from thumb to arm
authornickc <nickc>
Thu, 13 Jan 2000 22:55:12 +0000 (22:55 +0000)
committernickc <nickc>
Thu, 13 Jan 2000 22:55:12 +0000 (22:55 +0000)
bfd/ChangeLog
bfd/elf32-arm.h

index ff57158..c37ff0e 100644 (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
index 095e0cd..6efc7c8 100644 (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);