From b44267fd403c00de24c652c82f9b7dd948d88799 Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Wed, 5 May 1999 18:56:25 +0000 Subject: [PATCH] * coff-arm.c (coff_arm_relocate_section): Add one to address of ARM_RVA32 thumb functions. --- bfd/ChangeLog | 7 ++++++- bfd/coff-arm.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6bfe298..36b421b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,4 +1,9 @@ -999-05-05 Catherine Moore +1999-05-05 Catherine Moore + + * coff-arm.c (coff_arm_relocate_section): Add one to + address of ARM_RVA32 thumb functions. + +1999-05-05 Catherine Moore * elf32-m68k.c (elf32_m68k_set_private_flags): New. (elf32_m68k_copy_private_bfd_data): New. diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index d478ce5..3205117 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. */ -- 2.7.4