summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorZaara Syeda <syzaara@ca.ibm.com>2018-06-27 13:55:41 +0000
committerZaara Syeda <syzaara@ca.ibm.com>2018-06-27 13:55:41 +0000
commitde54f584ccca72d069a456d71c7d3d4d400a9198 (patch)
tree0632da1398fd587ff4387f65072ae6b7c5864e81 /llvm/lib
parent5254e64a8e6c23bfee24afb176f0edf3a9797cf3 (diff)
downloadbcm5719-llvm-de54f584ccca72d069a456d71c7d3d4d400a9198.tar.gz
bcm5719-llvm-de54f584ccca72d069a456d71c7d3d4d400a9198.zip
[PPC64] Add support for R_PPC64_GOT_DTPREL16* relocations
The local dynamic TLS access on PPC64 ELF v2 ABI uses R_PPC64_GOT_DTPREL16* relocations when a TLS variables falls outside 2 GB of the thread storage block. This patch adds support for these relocations by adding a new RelExpr called R_TLSLD_GOT_OFF which emits a got entry for the TLS variable relative to the dynamic thread pointer using the relocation R_PPC64_DTPREL64. It then evaluates the R_PPC64_GOT_DTPREL16* relocations as the got offset for the R_PPC64_DTPREL64 got entries. Differential Revision: https://reviews.llvm.org/D48484 llvm-svn: 335732
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud