2004-04-02 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 2 Apr 2004 15:25:05 +0000 (15:25 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 2 Apr 2004 15:25:05 +0000 (15:25 +0000)
* elf32-arm.h (elf32_arm_final_link_relocate): Handle
R_ARM_ALU* only if OLD_ARM_ABI is not defined.

bfd/ChangeLog
bfd/elf32-arm.h

index 6f6b14c27df2dbf6e7089236b0340160accea86d..b54be88b13aa54f21649788d9fed9ce1b468cb81 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-arm.h (elf32_arm_final_link_relocate): Handle
+       R_ARM_ALU* only if OLD_ARM_ABI is not defined.
+
 2004-04-01  Paul Brook  <paul@codesourcery.com>
 
        * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
index d3f8d1f0ea5f6f524f79ff1787ed3e10bd82c716..39864d427c4f0b2591fe7b700432d753a9187406 100644 (file)
@@ -1767,6 +1767,7 @@ elf32_arm_final_link_relocate (howto, input_bfd, output_bfd,
        return bfd_reloc_ok;
       }
 
+#ifndef OLD_ARM_ABI
     case R_ARM_ALU_PCREL7_0:
     case R_ARM_ALU_PCREL15_8:
     case R_ARM_ALU_PCREL23_15:
@@ -1791,6 +1792,7 @@ elf32_arm_final_link_relocate (howto, input_bfd, output_bfd,
        bfd_put_32 (input_bfd, value, hit_data);
       }
       return bfd_reloc_ok;
+#endif
 
     case R_ARM_GNU_VTINHERIT:
     case R_ARM_GNU_VTENTRY: