PATCH: Fix ARM/oabi

H. J. Lu hjl@lucon.org
Thu Apr 1 19:08:00 GMT 2004


R_ARM_ALU* aren't defined for oabi. I will check in the following
patch as an obvious fix.


H.J.
-------------- next part --------------
2004-04-01  H.J. Lu  <hongjiu.lu@intel.com>

	* bfd/elf32-arm.h (elf32_arm_final_link_relocate): Handle
	R_ARM_ALU* only if OLD_ARM_ABI is not defined.

--- bfd/elf32-arm.h.oabi	2004-04-01 08:34:34.000000000 -0800
+++ bfd/elf32-arm.h	2004-04-01 10:57:57.000000000 -0800
@@ -1767,6 +1767,7 @@ elf32_arm_final_link_relocate (howto, in
 	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, in
 	bfd_put_32 (input_bfd, value, hit_data);
       }
       return bfd_reloc_ok;
+#endif
 
     case R_ARM_GNU_VTINHERIT:
     case R_ARM_GNU_VTENTRY:


More information about the Binutils mailing list