[AArch64][2/8] GAS support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21

Marcus Shawcroft marcus.shawcroft@gmail.com
Fri Jul 24 16:29:00 GMT 2015


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.  */

Fix the indentation here please.

+  BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21,
+

Thanks
/Marcus



More information about the Binutils mailing list