summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-02-12 13:43:03 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-02-12 13:43:03 +0000
commit74bcf03f873987c8bf4f090308649b85860b9228 (patch)
tree53507f4180f67c4ce484e92f2f1fbfb71690f1bf /llvm/test/CodeGen
parentac5e36f52e152732830f853033836b9be6f582fc (diff)
downloadbcm5719-llvm-74bcf03f873987c8bf4f090308649b85860b9228.tar.gz
bcm5719-llvm-74bcf03f873987c8bf4f090308649b85860b9228.zip
[lld] [ELF/AArch64] Add support to some GD/LE/IS TLS relocations
This patch adds some TLS relocations and relaxations for AArch64. Some Global-Dynamic relocation are handled by optimizing them to Local-Exec (Initial-Exec is not yet supported). They are: - R_AARCH64_TLSDESC_ADR_PAGE21 - R_AARCH64_TLSDESC_LD64_LO12_NC - R_AARCH64_TLSDESC_ADD_LO12_NC - R_AARCH64_TLSDESC_CALL Also some Init-Exec is optimized to Local-Exec if possible. They are: - R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 - R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC Finally some Local-Exec relocation are handled in relocateOne: - R_AARCH64_TLSLE_ADD_TPREL_HI12 - R_AARCH64_TLSLE_ADD_TPREL_LO12_NC This work is mainly for compiler bootstrap, where static binaries is showing good progress (although shared object still lacking support from both TLS aarch64 backend and some other issues). llvm-svn: 260677
Diffstat (limited to 'llvm/test/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud