This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [14/16][binutils][AARCH64]Add relocation support for large memory model. [GAS]Add TLSDESC support
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Renlin Li <renlin dot li at arm dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, Nicholas Clifton <nickc at redhat dot com>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>, Jiong Wang <jiong dot wang at arm dot com>
- Date: Wed, 16 Sep 2015 15:39:41 +0100
- Subject: Re: [14/16][binutils][AARCH64]Add relocation support for large memory model. [GAS]Add TLSDESC support
- Authentication-results: sourceware.org; auth=none
- References: <55F8209E dot 1090407 at arm dot com>
On 15 September 2015 at 14:43, Renlin Li <renlin.li@arm.com> wrote:
> bfd/ChangeLog:
>
> 2015-09-15 Renlin Li <renlin.li@arm.com>
>
> * elfnn-aarch64.c (elfNN_aarch64_howto_table): Check overflow for
> BFD_RELOC_AARCH64_TLSDESC_OFF_G1.
>
> gas/ChangeLog:
>
> 2015-09-15 Renlin Li <renlin.li@arm.com>
>
> * config/tc-aarch64.c (s_tlsdescadd): New.
> (s_tlsdescldr): New.
> (md_pseudo_table): Handle tlsdescadd and tlsdescldr pseudo ops.
> (reloc_table): Add entries for BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC and
> BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC.
> (process_movw_reloc_info): Support AARCH64_TLSDESC_OFF_G1 and
> AARCH64_TLSDESC_OFF_G0_NC.
> (md_apply_fix): Likewise.
> (aarch64_force_relocation): Likewise.
>
> gas/testsuite/ChangeLog:
>
> 2015-09-15 Renlin Li <renlin.li@arm.com>
>
> * gas/aarch64/reloc-tlsdesc_off_g0_nc.d: New.
> * gas/aarch64/reloc-tlsdesc_off_g0_nc.s: New.
> * gas/aarch64/reloc-tlsdesc_off_g1.d: New.
> * gas/aarch64/reloc-tlsdesc_off_g1.s: New.
> * gas/aarch64/tls-desc.d: New.
> * gas/aarch64/tls-desc.s: New.
OK /Marcus