diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2015-02-18 15:37:35 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2015-02-26 22:59:23 +0000 |
commit | 1ada945d059789e05542ebf573bd9b7eab2a2654 (patch) | |
tree | 164f1baf6f54ca23ddced208db9fa9c499e5c429 /bfd/elfxx-aarch64.c | |
parent | 389b8029b69e2a4cdbc3a23d0ee9d5b3c974bd34 (diff) | |
download | gdb-1ada945d059789e05542ebf573bd9b7eab2a2654.zip gdb-1ada945d059789e05542ebf573bd9b7eab2a2654.tar.gz gdb-1ada945d059789e05542ebf573bd9b7eab2a2654.tar.bz2 |
[AArch64] Add support for :tlsdesc: and TLSDESC_LD_PREL19
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 929eb64..1d661b3 100644 --- a/bfd/elfxx-aarch64.c +++ b/bfd/elfxx-aarch64.c @@ -241,6 +241,7 @@ _bfd_aarch64_elf_put_addend (bfd *abfd, contents = reencode_tst_branch_ofs_14 (contents, addend); break; + case BFD_RELOC_AARCH64_TLSDESC_LD_PREL19: case BFD_RELOC_AARCH64_LD_LO19_PCREL: case BFD_RELOC_AARCH64_GOT_LD_PREL19: case BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19: @@ -380,6 +381,7 @@ _bfd_aarch64_elf_resolve_relocation (bfd_reloc_code_real_type r_type, break; case BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21: + 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_ADR_LO21_PCREL: |