aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2012-08-24 16:26:02 +0000
committerRoman Divacky <rdivacky@freebsd.org>2012-08-24 16:26:02 +0000
commit9fb8b49380e7cf6ce88400ad65051e830563bc81 (patch)
treed9b4685683ea8322e1b3911eff32d98d9ca46708 /include/llvm/MC
parentbd7684c94c81226d550eff5dfe6aacb285a72f60 (diff)
downloadexternal_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 'include/llvm/MC')
-rw-r--r--include/llvm/MC/MCExpr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/MC/MCExpr.h b/include/llvm/MC/MCExpr.h
index ad65cba..ee7b144 100644
--- a/include/llvm/MC/MCExpr.h
+++ b/include/llvm/MC/MCExpr.h
@@ -171,7 +171,8 @@ public:
VK_ARM_GOTTPOFF,
VK_ARM_TARGET1,
- VK_PPC_TOC,
+ VK_PPC_TOC, // TOC base
+ VK_PPC_TOC_ENTRY, // TOC entry
VK_PPC_DARWIN_HA16, // ha16(symbol)
VK_PPC_DARWIN_LO16, // lo16(symbol)
VK_PPC_GAS_HA16, // symbol@ha