diff options
author | Jiong Wang <jiong.wang@arm.com> | 2015-08-11 17:20:17 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2015-08-11 21:26:13 +0100 |
commit | 73f925cc20e839d4b7352b809a33e4e7dcbfa05a (patch) | |
tree | 3a5b61093c6b5a5681b516a34440cd07e4452f03 /ld | |
parent | a12fad50d28b9251893c6709ac4374773350c21a (diff) | |
download | gdb-73f925cc20e839d4b7352b809a33e4e7dcbfa05a.zip gdb-73f925cc20e839d4b7352b809a33e4e7dcbfa05a.tar.gz gdb-73f925cc20e839d4b7352b809a33e4e7dcbfa05a.tar.bz2 |
[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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-aarch64/tls-small-ld.s | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 99e87f7..d618866 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2015-08-11 Jiong Wang <jiong.wang@arm.com> + * ld-aarch64/tls-small-ld.s: Update testcase. + +2015-08-11 Jiong Wang <jiong.wang@arm.com> + * ld-aarch64/tls-small-ld.s: New file. * ld-aarch64/tls-small-ld.d: Likewise. * ld-aarch64/aarch64-elf.exp: Run new test. diff --git a/ld/testsuite/ld-aarch64/tls-small-ld.s b/ld/testsuite/ld-aarch64/tls-small-ld.s index 0a8b6b9..ed06686 100644 --- a/ld/testsuite/ld-aarch64/tls-small-ld.s +++ b/ld/testsuite/ld-aarch64/tls-small-ld.s @@ -2,6 +2,7 @@ .text func: - add x1, x2, x3 + // BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC + add x1, x2, #:tlsldm_lo12_nc:dummy // BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21 adrp x0, :tlsldm:dummy |