diff options
author | Peter Smith <peter.smith@linaro.org> | 2019-08-08 13:38:09 +0000 |
---|---|---|
committer | Peter Smith <peter.smith@linaro.org> | 2019-08-08 13:38:09 +0000 |
commit | d4695e1d75a358d3161b5a81c9754c410c1ed2bc (patch) | |
tree | c15eca1626db76bc753e83e25f67ab7786bbcfdf /llvm/lib/Support/FileCheck.cpp | |
parent | 59fabf9c606ecc69342463e514faefdfa2361be6 (diff) | |
download | llvm-d4695e1d75a358d3161b5a81c9754c410c1ed2bc.zip llvm-d4695e1d75a358d3161b5a81c9754c410c1ed2bc.tar.gz llvm-d4695e1d75a358d3161b5a81c9754c410c1ed2bc.tar.bz2 |
[ELF][AArch64] Support for movz, movk tprel relocations
This patch Implements the R_AARCH64_TLSLE_MOVW_TPREL_G*[_NC]. These are
logically the same calculation as the existing TLSLE relocations with
the result written back to mov[nz] and movk instructions. A typical code
sequence is:
movz x0, #:tprel_g2:foo // bits [47:32] of R_TLS with overflow check
movk x0, #:tprel_g1_nc:foo // bits [31:16] of R_TLS with no overflow check
movk x0, #:tprel_g0_nc:foo // bits [15:0] of R_TLS with no overflow check
This type of code sequence is usually used with a large code model.
Differential Revision: https://reviews.llvm.org/D65882
Fixes: PR42853
llvm-svn: 368293
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions