* coff-arm.c (coff_arm_relocate_section): Add one to
authorCatherine Moore <clm@redhat.com>
Wed, 5 May 1999 18:56:25 +0000 (18:56 +0000)
committerCatherine Moore <clm@redhat.com>
Wed, 5 May 1999 18:56:25 +0000 (18:56 +0000)
        address of ARM_RVA32 thumb functions.

bfd/ChangeLog
bfd/coff-arm.c

index 6bfe298a716892c35b3083faf42e531f70435073..36b421bd8a5ffae00f391c5bf9aad0d57473520e 100644 (file)
@@ -1,4 +1,9 @@
-999-05-05  Catherine Moore  <clm@cygnus.com>
+1999-05-05  Catherine Moore  <clm@cygnus.com>
+
+        * coff-arm.c (coff_arm_relocate_section):  Add one to
+        address of ARM_RVA32 thumb functions.
+1999-05-05  Catherine Moore  <clm@cygnus.com>
  
         * elf32-m68k.c (elf32_m68k_set_private_flags): New.
         (elf32_m68k_copy_private_bfd_data): New.
index d478ce5f98cd9a7b05dc8a11b46c0c492fd9422a..32051175b7255b747a2f2e65e0423126d2565ab7 100644 (file)
@@ -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.  */