aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-aarch64.c
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2015-02-18 15:36:40 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2015-02-26 22:59:16 +0000
commit389b8029b69e2a4cdbc3a23d0ee9d5b3c974bd34 (patch)
treee1d26b3add7b4b3bd3e3b7bf0da0ad52c7559fd9 /bfd/elfxx-aarch64.c
parentb480a4819bb85f0d8004cc0904e7a2eeb03cb2b7 (diff)
downloadgdb-389b8029b69e2a4cdbc3a23d0ee9d5b3c974bd34.zip
gdb-389b8029b69e2a4cdbc3a23d0ee9d5b3c974bd34.tar.gz
gdb-389b8029b69e2a4cdbc3a23d0ee9d5b3c974bd34.tar.bz2
[AArch64] Add support for :tlsdesc: and TLSDESC_ADR_PREL21
Diffstat (limited to 'bfd/elfxx-aarch64.c')
-rw-r--r--bfd/elfxx-aarch64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elfxx-aarch64.c b/bfd/elfxx-aarch64.c
index b5a9334..929eb64 100644
--- a/bfd/elfxx-aarch64.c
+++ b/bfd/elfxx-aarch64.c
@@ -252,6 +252,7 @@ _bfd_aarch64_elf_put_addend (bfd *abfd,
case BFD_RELOC_AARCH64_TLSDESC_CALL:
break;
+ case BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21:
case BFD_RELOC_AARCH64_TLSGD_ADR_PREL21:
case BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21:
case BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21:
@@ -378,6 +379,7 @@ _bfd_aarch64_elf_resolve_relocation (bfd_reloc_code_real_type r_type,
case BFD_RELOC_AARCH64_NONE:
break;
+ case BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21:
case BFD_RELOC_AARCH64_TLSGD_ADR_PREL21:
case BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19:
case BFD_RELOC_AARCH64_ADR_LO21_PCREL: