diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-01-13 11:29:45 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-01-13 11:29:45 +0000 |
commit | 253dbf540540ed0019ea0d6d2e9b38411688a47c (patch) | |
tree | 4817c290f4e53daecc2bb9056476f56531294a85 /llvm/lib/Target/AMDGPU/SIFixSGPRLiveRanges.cpp | |
parent | dd113648afe6f685539ba9b58c679f88ea5a9eb8 (diff) | |
download | bcm5719-llvm-253dbf540540ed0019ea0d6d2e9b38411688a47c.tar.gz bcm5719-llvm-253dbf540540ed0019ea0d6d2e9b38411688a47c.zip |
[ELF/AArch64] - Implemented R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 and R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC relocations
* R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 is calculated as Page(G(GTPREL(S+A))) – Page(P), set an ADRP immediate field to bits [32:12] of X; check –2^32 ≤ X < 2^32;
* R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC is calculated as G(GTPREL(S+A)), set an LD offset field to bits [11:3] of X. No overflow check; check that X&7 = 0.
Differential revision: http://reviews.llvm.org/D16117
llvm-svn: 257588
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIFixSGPRLiveRanges.cpp')
0 files changed, 0 insertions, 0 deletions