This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Binutils][AARCH64][1/2]Add group relocations to create PC-relative offset.
- From: Nick Clifton <nickc at redhat dot com>
- To: Renlin Li <renlin dot li at foss dot arm dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>, Ramana Radhakrishnan <Ramana dot Radhakrishnan at arm dot com>
- Date: Mon, 22 Jan 2018 13:22:42 +0000
- Subject: Re: [Binutils][AARCH64][1/2]Add group relocations to create PC-relative offset.
- Authentication-results: sourceware.org; auth=none
- References: <0911da78-0f25-fd2d-7edb-a791e38dc990@foss.arm.com> <13ca6aa7-befd-2d13-08d9-5e3513d809cb@foss.arm.com>
Hi Renlin,
> bfd/
>
> 2018-01-18 Renlin Li <renlin.li@arm.com>
>
> * reloc.c: Add BFD_RELOC_AARCH64_MOVW_PREL_G0,
> BFD_RELOC_AARCH64_MOVW_PREL_G0_NC, BFD_RELOC_AARCH64_MOVW_PREL_G1,
> BFD_RELOC_AARCH64_MOVW_PREL_G1_NC, BFD_RELOC_AARCH64_MOVW_PREL_G2,
> BFD_RELOC_AARCH64_MOVW_PREL_G2_NC, BFD_RELOC_AARCH64_MOVW_PREL_G3.
> * bfd-in2.h: Regenerate.
> * libbfd.h: Regenerate.
> * elfnn-aarch64.c (elfNN_aarch64_howto_table): Add entries for
> BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
> BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
> BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
> BFD_RELOC_AARCH64_MOVW_PREL_G3.
>
> gas/
>
> 2018-01-18 Renlin Li <renlin.li@arm.com>
>
> * config/tc-aarch64.c (reloc_table): add entries for
> BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
> BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
> BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
> BFD_RELOC_AARCH64_MOVW_PREL_G3.
> (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
> (md_apply_fix): Likewise
> * testsuite/gas/aarch64/prel_g0.s: New.
> * testsuite/gas/aarch64/prel_g0.d: New.
> * testsuite/gas/aarch64/prel_g0_nc.s: New.
> * testsuite/gas/aarch64/prel_g0_nc.d: New.
> * testsuite/gas/aarch64/prel_g1.s: New.
> * testsuite/gas/aarch64/prel_g1.d: New.
> * testsuite/gas/aarch64/prel_g1_nc.s: New.
> * testsuite/gas/aarch64/prel_g1_nc.d: New.
> * testsuite/gas/aarch64/prel_g2.s: New.
> * testsuite/gas/aarch64/prel_g2.d: New.
> * testsuite/gas/aarch64/prel_g2_nc.s: New.
> * testsuite/gas/aarch64/prel_g2_nc.d: New.
> * testsuite/gas/aarch64/prel_g3.s: New.
> * testsuite/gas/aarch64/prel_g3.d: New.
Approved, please apply.
Cheers
Nick