old-cross-binutils/ld/testsuite/ld-aarch64/tls-small-ld.s
Jiong Wang 73f925cc20 [AArch64][6/8] LD support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC
2015-08-11  Jiong Wang  <jiong.wang@arm.com>

bfd/
  * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
  BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
  (aarch64_reloc_got_type): Likewise.
  (elfNN_aarch64_final_link_relocate): Likewise.
  (elfNN_aarch64_relocate_section): Likewise.
  (elfNN_aarch64_gc_sweep_hook): Likewise.
  (elfNN_aarch64_check_relocs): Likewise.
  * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
  (_bfd_aarch64_elf_resolve_relocation): Likewise.

ld/testsuite/
  * ld-aarch64/tls-small-ld.s: Update testcase.
2015-08-11 21:26:13 +01:00

8 lines
194 B
ArmAsm

// Test file for AArch64 LD -- reloc 518
.text
func:
// BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC
add x1, x2, #:tlsldm_lo12_nc:dummy
// BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21
adrp x0, :tlsldm:dummy