This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix ARM/oabi
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: paul at codesourcery dot com, binutils at sources dot redhat dot com, Richard Earnshaw <rearnsha at arm dot com>
- Date: Fri, 02 Apr 2004 12:15:21 +0100
- Subject: Re: PATCH: Fix ARM/oabi
- Organization: ARM Ltd.
- Reply-to: Richard Earnshaw <rearnsha at arm dot com>
> 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.