diff options
author | Catherine Moore <clm@redhat.com> | 1999-05-05 18:56:25 +0000 |
---|---|---|
committer | Catherine Moore <clm@redhat.com> | 1999-05-05 18:56:25 +0000 |
commit | 44329fa32b82b6558fdd93cd00a85c7d44d1a50b (patch) | |
tree | d749c26edcb1e68aacc4693d52a6db4d3cb822d1 /bfd/coff-arm.c | |
parent | 049f10d7dc48a42b664a15149f83d5c3db004ef7 (diff) | |
download | gdb-44329fa32b82b6558fdd93cd00a85c7d44d1a50b.tar.gz |
* coff-arm.c (coff_arm_relocate_section): Add one to
address of ARM_RVA32 thumb functions.
Diffstat (limited to 'bfd/coff-arm.c')
-rw-r--r-- | bfd/coff-arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index d478ce5f98c..32051175b72 100644 --- a/bfd/coff-arm.c +++ b/bfd/coff-arm.c @@ -1537,7 +1537,7 @@ coff_arm_relocate_section (output_bfd, info, input_bfd, input_section, Probably not, but it works, and if it works it don't need fixing! nickc@cygnus.com */ /* Only perform this fix during the final link, not a relocatable link. nickc@cygnus.com */ if (! info->relocateable - && rel->r_type == ARM_32) + && (rel->r_type == ARM_32 || rel->r_type == ARM_RVA32)) { /* Determine if we need to set the bottom bit of a relocated address because the address is the address of a Thumb code symbol. */ |