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 /gas | |
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 'gas')
-rw-r--r-- | gas/config/tc-aarch64.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index ce56dc3..1e2b182 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -2479,7 +2479,7 @@ static struct reloc_table_entry reloc_table[] = { 0, 0, 0, - 0}, + BFD_RELOC_AARCH64_TLSDESC_LD_PREL19}, /* 12 bit offset into the page containing GOT TLS entry for a symbol */ {"tlsdesc_lo12", 0, @@ -6711,6 +6711,7 @@ md_apply_fix (fixS * fixP, valueT * valP, segT seg) case BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21: case BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC: case BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC: + case BFD_RELOC_AARCH64_TLSDESC_LD_PREL19: case BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC: case BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21: case BFD_RELOC_AARCH64_TLSGD_ADR_PREL21: @@ -6913,6 +6914,7 @@ aarch64_force_relocation (struct fix *fixp) case BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21: case BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC: case BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC: + case BFD_RELOC_AARCH64_TLSDESC_LD_PREL19: case BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC: case BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21: case BFD_RELOC_AARCH64_TLSGD_ADR_PREL21: |