[AArch64][5/8] GAS support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC
authorJiong Wang <jiong.wang@arm.com>
Tue, 11 Aug 2015 16:15:56 +0000 (17:15 +0100)
committerJiong Wang <jiong.wang@arm.com>
Tue, 11 Aug 2015 20:25:51 +0000 (21:25 +0100)
commita12fad50d28b9251893c6709ac4374773350c21a
treee014342f5a792d5a5389656f0b2723767e68f6ae
parent56a2e4507a4249634422fba2373b651b774c55ac
[AArch64][5/8] GAS support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC

2015-08-11  Jiong Wang  <jiong.wang@arm.com>

bfd/
  * reloc.c (BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC): New entry.
  * bfd-in2.h: Regenerate.
  * libbfd.h: Regenerate.
  * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
  BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.

gas/
  * config/tc-aarch64.c (reloc_table): New relocation modifiers.
  (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
  (aarch64_force_relocation): Likewise.

gas/testsuite/
  * gas/aarch64/reloc-tlsldm_lo12_nc-1.s: New testcase.
  * gas/aarch64/reloc-tlsldm_lo12_nc-ilp32-1.s: Likewise.
  * gas/aarch64/reloc-tlsldm_lo12_nc-1.d: New expectation file.
  * gas/aarch64/reloc-tlsldm_lo12_nc-ilp32-1.d: Likewise.
12 files changed:
bfd/ChangeLog
bfd/bfd-in2.h
bfd/elfnn-aarch64.c
bfd/libbfd.h
bfd/reloc.c
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/ChangeLog
gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-1.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-1.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-ilp32-1.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tlsldm_lo12_nc-ilp32-1.s [new file with mode: 0644]