diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2012-06-04 17:36:38 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2012-06-04 17:36:38 +0000 |
commit | fd42ed676e37c29364f53f848320b7cb706111e0 (patch) | |
tree | ee33f96b4a5dbf02c1648d10b23cf97686a6c68b /lib/MC | |
parent | 70a07c7fc437045a2421d279a99b19981f08acc2 (diff) | |
download | external_llvm-fd42ed676e37c29364f53f848320b7cb706111e0.zip external_llvm-fd42ed676e37c29364f53f848320b7cb706111e0.tar.gz external_llvm-fd42ed676e37c29364f53f848320b7cb706111e0.tar.bz2 |
Implement local-exec TLS on PowerPC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157935 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCExpr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MC/MCExpr.cpp b/lib/MC/MCExpr.cpp index 7880155..039943a 100644 --- a/lib/MC/MCExpr.cpp +++ b/lib/MC/MCExpr.cpp @@ -202,6 +202,8 @@ StringRef MCSymbolRefExpr::getVariantKindName(VariantKind Kind) { case VK_PPC_DARWIN_LO16: return "lo16"; case VK_PPC_GAS_HA16: return "ha"; case VK_PPC_GAS_LO16: return "l"; + case VK_PPC_TPREL16_HA: return "tprel@ha"; + case VK_PPC_TPREL16_LO: return "tprel@l"; case VK_Mips_GPREL: return "GPREL"; case VK_Mips_GOT_CALL: return "GOT_CALL"; case VK_Mips_GOT16: return "GOT16"; |