diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2015-02-13 09:57:11 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2015-02-26 22:23:09 +0000 |
commit | 043bf05a3d8e4bf7706f7c038540b893ec075051 (patch) | |
tree | f5316dd4a882f9a43557b0d398e84841f51aaca3 /bfd/elfxx-aarch64.c | |
parent | 74ad790c76cf890fc7f42d6dd5a4cebfde5cc0db (diff) | |
download | gdb-043bf05a3d8e4bf7706f7c038540b893ec075051.zip gdb-043bf05a3d8e4bf7706f7c038540b893ec075051.tar.gz gdb-043bf05a3d8e4bf7706f7c038540b893ec075051.tar.bz2 |
Adding support for TLSIE_LD_GOTTREL_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 66c03e3..328743d 100644 --- a/bfd/elfxx-aarch64.c +++ b/bfd/elfxx-aarch64.c @@ -243,6 +243,7 @@ _bfd_aarch64_elf_put_addend (bfd *abfd, case BFD_RELOC_AARCH64_LD_LO19_PCREL: case BFD_RELOC_AARCH64_GOT_LD_PREL19: + case BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19: if (old_addend & ((1 << howto->rightshift) - 1)) return bfd_reloc_overflow; contents = reencode_ld_lit_ofs_19 (contents, addend); @@ -376,6 +377,7 @@ _bfd_aarch64_elf_resolve_relocation (bfd_reloc_code_real_type r_type, case BFD_RELOC_AARCH64_NONE: break; + case BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19: case BFD_RELOC_AARCH64_ADR_LO21_PCREL: case BFD_RELOC_AARCH64_BRANCH19: case BFD_RELOC_AARCH64_LD_LO19_PCREL: |