diff options
author | Jiong Wang <jiong.wang@arm.com> | 2015-07-16 15:43:21 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2015-07-16 15:43:21 +0100 |
commit | 6c37fedc41b028905cc828c0eccd3a8720512e4e (patch) | |
tree | 69e5110a4920a72f8f1a8e3928631569ef570a5f /bfd/elfnn-aarch64.c | |
parent | 53e8fd0f07cec1eb36149a64e4ed45923967453c (diff) | |
download | gdb-6c37fedc41b028905cc828c0eccd3a8720512e4e.zip gdb-6c37fedc41b028905cc828c0eccd3a8720512e4e.tar.gz gdb-6c37fedc41b028905cc828c0eccd3a8720512e4e.tar.bz2 |
[AArch64][2/3] GAS support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21
Diffstat (limited to 'bfd/elfnn-aarch64.c')
-rw-r--r-- | bfd/elfnn-aarch64.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index b13f5db..a1d926f 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -1024,6 +1024,20 @@ static reloc_howto_type elfNN_aarch64_howto_table[] = 0x1ffffc, /* dst_mask */ FALSE), /* pcrel_offset */ + HOWTO (AARCH64_R (TLSLD_ADR_PREL21), /* type */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 21, /* bitsize */ + TRUE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_signed, /* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + AARCH64_R_STR (TLSLD_ADR_PREL21), /* name */ + FALSE, /* partial_inplace */ + 0x1fffff, /* src_mask */ + 0x1fffff, /* dst_mask */ + TRUE), /* pcrel_offset */ + HOWTO64 (AARCH64_R (TLSLE_MOVW_TPREL_G2), /* type */ 32, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ |