This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [AArch64][2/8] GAS support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21
- From: Jiong Wang <jiong dot wang at arm dot com>
- To: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- Cc: "binutils\ at sourceware dot org" <binutils at sourceware dot org>
- Date: Fri, 24 Jul 2015 17:33:20 +0100
- Subject: Re: [AArch64][2/8] GAS support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21
- Authentication-results: sourceware.org; auth=none
- References: <n99twstftk3 dot fsf at arm dot com> <CAFqB+PyTyfQyY9BPDK7YQ0g+wvdVtAke4N1q+fJOjqZgm7ZFNQ at mail dot gmail dot com>
Marcus Shawcroft writes:
> On 24 July 2015 at 16:36, Jiong Wang <jiong.wang@arm.com> wrote:
>>
>> 2015-07-24 Jiong Wang <jiong.wang@arm.com>
>>
>> bfd/
>> * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21): New entry.
>> * bfd-in2.h: Regenerate.
>> * libbfd.h: Regenerate.
>> * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
>> BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
>>
>> gas/
>> * config/tc-aarch64.c (reloc_table): New relocation modifiers.
>
> Name the modifiers please.
>
>> (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
>> (aarch64_force_relocation): Ditto.
>>
>> gas/testsuite/
>> * gas/aarch64/reloc-tlsldm-page-1.s: New testcase.
>> * gas/aarch64/reloc-tlsldm-page-ilp32-1.s: Ditto.
>> * gas/aarch64/reloc-tlsldm-page-1.d: New expectation file.
>> * gas/aarch64/reloc-tlsldm-page-ilp32-1.d: Ditto.
>
>
>
> +/* GOT entry page address for AArch64 TLS Local Dynamic, used with ADRP
> +instruction. */
Contents in bfd-in2.h are auto-generated, we can't control that.
Fixed Changelog, OK for trunk?
Thanks.
2015-07-24 Jiong Wang <jiong.wang@arm.com>
bfd/
* reloc.c (BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21): New entry.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
gas/
* config/tc-aarch64.c (reloc_table): New relocation modifiers
"tlsldm".
(md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
(aarch64_force_relocation): Ditto.
gas/testsuite/
* gas/aarch64/reloc-tlsldm-page-1.s: New testcase.
* gas/aarch64/reloc-tlsldm-page-ilp32-1.s: Ditto.
* gas/aarch64/reloc-tlsldm-page-1.d: New expectation file.
* gas/aarch64/reloc-tlsldm-page-ilp32-1.d: Ditto.
--
Regards,
Jiong