summaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-01-13 22:55:12 +0000
committerNick Clifton <nickc@redhat.com>2000-01-13 22:55:12 +0000
commit70c2e8277d0c7cff6b3951ffedb8d7d107273c43 (patch)
treeff8cd7e7a1aaeac4974929e71866a2fd683b7019 /bfd/elf32-arm.h
parent390432976fc02cdf3db5c87b3dde2d5136f3c900 (diff)
downloadgdb-70c2e8277d0c7cff6b3951ffedb8d7d107273c43.tar.gz
Fix bug in interwork stubs from thumb to arm
Diffstat (limited to 'bfd/elf32-arm.h')
-rw-r--r--bfd/elf32-arm.h2
1 files changed, 1 insertions, 1 deletions
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);