This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Fix ARM/oabi


> R_ARM_ALU* aren't defined for oabi. I will check in the following
> patch as an obvious fix.
> 
> 
> H.J.
> 
> 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:
> 


Is anybody still using that old ABI?  I really think it's time it was 
killed off.  It's been obsolete for about 5 years now.

R.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]