mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
73f925cc20
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.
9 lines
194 B
ArmAsm
9 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
|