[AArch64][TLSIE][2/2] Implement TLS IE for tiny model
authorJiong Wang <jiwang@gcc.gnu.org>
Wed, 26 Aug 2015 13:38:40 +0000 (13:38 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Wed, 26 Aug 2015 13:38:40 +0000 (13:38 +0000)
commit5ae7caad5160a2238fa40324095d7c07fcc3885d
treec20b5b6afa579efa756b23ce6f725a647c26e7ba
parente656fbc820265bdab84bdc2ab6c4e32a4713ea1e
[AArch64][TLSIE][2/2] Implement TLS IE for tiny model

2015-08-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
    Jiong Wang  <jiong.wang@arm.com>
gcc/
* config/aarch64/aarch64.md (UNSPEC_GOTTINYTLS): New UNSPEC.
(tlsie_tiny_<mode>): New define_insn.
(tlsie_tiny_sidi): Likewise.
* config/aarch64/aarch64-protos.h (aarch64_symbol_type): Define
SYMBOL_TINY_TLSIE.
(aarch64_symbol_context): New comment for SYMBOL_TINY_TLSIE.
* config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Support
SYMBOL_TINY_TLSIE.
(aarch64_expand_mov_immediate): Likewise.
(aarch64_print_operand): Likewise.
(arch64_classify_tls_symbol): Likewise.

gcc/testsuite/
* gcc.target/aarch64/tlsie_tiny_1.c: New testcase.

From-SVN: r227220
gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/tlsie_tiny_1.c [new file with mode: 0644]