This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [arm] Implement R_ARM_TARGET1
- From: Richard Earnshaw <rearnsha at gcc dot gnu dot org>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 13 Sep 2004 14:36:52 +0100
- Subject: Re: [arm] Implement R_ARM_TARGET1
- Organization: GNU
- References: <200409131429.53788.paul@codesourcery.com>
On Mon, 2004-09-13 at 14:29, Paul Brook wrote:
> The patch below renames R_ARM_RELABS32 to R_ARM_TARGET1, and implements it.
> It also adds commandline and target specific mechanisms for defining its
> value.
>
> This relocation is used for pointers in the .init_array section. On some
> targets it is equivalent to R_ARM_ABS32, on others R_ARM_REL32.
>
> Ok?
>
Yes, but see notes below.
> +#ifndef OLD_ARM_ABI
It's about time that the 'old' abi was deleted -- it's now the old-old
abi!
> + fprintf (file, _(" --target1-rel Interpret R_ARM_TARGET1 as
> R_AMR_REL32\n"));
> + fprintf (file, _(" --target1-abs Interpret R_ARM_TARGET1 as
> R_AMR_ABS32\n"));
> '
R_ARM_... not R_AMR_...
R.