diff options
author | Jiong Wang <jiong.wang@arm.com> | 2015-07-16 15:46:21 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2015-07-16 15:46:21 +0100 |
commit | 77a69ff840d60cca73624e16e5b2dd5217a6037e (patch) | |
tree | 035cbe693841d313212c8f09152f7752cd3f0afc /bfd/elfxx-aarch64.c | |
parent | 6c37fedc41b028905cc828c0eccd3a8720512e4e (diff) | |
download | gdb-77a69ff840d60cca73624e16e5b2dd5217a6037e.zip gdb-77a69ff840d60cca73624e16e5b2dd5217a6037e.tar.gz gdb-77a69ff840d60cca73624e16e5b2dd5217a6037e.tar.bz2 |
[AArch64][3/3] LD support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21
Diffstat (limited to 'bfd/elfxx-aarch64.c')
-rw-r--r-- | bfd/elfxx-aarch64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elfxx-aarch64.c b/bfd/elfxx-aarch64.c index 7b1a394..5b2af2a 100644 --- a/bfd/elfxx-aarch64.c +++ b/bfd/elfxx-aarch64.c @@ -241,6 +241,7 @@ _bfd_aarch64_elf_put_addend (bfd *abfd, case BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21: case BFD_RELOC_AARCH64_TLSGD_ADR_PREL21: case BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21: + case BFD_RELOC_AARCH64_TLSLD_ADR_PREL21: contents = _bfd_aarch64_reencode_adr_imm (contents, addend); break; @@ -371,6 +372,7 @@ _bfd_aarch64_elf_resolve_relocation (bfd_reloc_code_real_type r_type, case BFD_RELOC_AARCH64_TLSDESC_LD_PREL19: case BFD_RELOC_AARCH64_TLSGD_ADR_PREL21: case BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19: + case BFD_RELOC_AARCH64_TLSLD_ADR_PREL21: case BFD_RELOC_AARCH64_TSTBR14: if (weak_undef_p) value = place; |