diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2012-08-24 16:26:02 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2012-08-24 16:26:02 +0000 |
commit | 9fb8b49380e7cf6ce88400ad65051e830563bc81 (patch) | |
tree | d9b4685683ea8322e1b3911eff32d98d9ca46708 /lib/MC | |
parent | bd7684c94c81226d550eff5dfe6aacb285a72f60 (diff) | |
download | external_llvm-9fb8b49380e7cf6ce88400ad65051e830563bc81.zip external_llvm-9fb8b49380e7cf6ce88400ad65051e830563bc81.tar.gz external_llvm-9fb8b49380e7cf6ce88400ad65051e830563bc81.tar.bz2 |
Lower constant pools and jump tables via TOC on PPC64/SVR4.
In collaboration with Adhemerval Zanella.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCExpr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCExpr.cpp b/lib/MC/MCExpr.cpp index 0eb7fcc..2d1cadd 100644 --- a/lib/MC/MCExpr.cpp +++ b/lib/MC/MCExpr.cpp @@ -197,7 +197,8 @@ StringRef MCSymbolRefExpr::getVariantKindName(VariantKind Kind) { case VK_ARM_GOTTPOFF: return "(gottpoff)"; case VK_ARM_TLSGD: return "(tlsgd)"; case VK_ARM_TARGET1: return "(target1)"; - case VK_PPC_TOC: return "toc"; + case VK_PPC_TOC: return "tocbase"; + case VK_PPC_TOC_ENTRY: return "toc"; case VK_PPC_DARWIN_HA16: return "ha16"; case VK_PPC_DARWIN_LO16: return "lo16"; case VK_PPC_GAS_HA16: return "ha"; |