This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [AArch64][2/8] GAS support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]