aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCExpr.h
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2013-07-01 23:33:29 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2013-07-01 23:33:29 +0000
commit228e0afcfd0d5f167a95c6ddbec2c6a4a90b6d2b (patch)
tree495ce8f8ca372d6efb3347018fd8803b015ff810 /include/llvm/MC/MCExpr.h
parent74d2a3e1a014b93e9037a7b04e85dc92bfb54fa7 (diff)
downloadexternal_llvm-228e0afcfd0d5f167a95c6ddbec2c6a4a90b6d2b.zip
external_llvm-228e0afcfd0d5f167a95c6ddbec2c6a4a90b6d2b.tar.gz
external_llvm-228e0afcfd0d5f167a95c6ddbec2c6a4a90b6d2b.tar.bz2
[PowerPC] Add support for TLS data relocations
This adds support for TLS data relocations and modifiers: .quad target@dtpmod .quad target@tprel .quad target@dtprel Currently exploited by the asm parser only. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCExpr.h')
-rw-r--r--include/llvm/MC/MCExpr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/MC/MCExpr.h b/include/llvm/MC/MCExpr.h
index 6ac4f94..5d55974 100644
--- a/include/llvm/MC/MCExpr.h
+++ b/include/llvm/MC/MCExpr.h
@@ -186,6 +186,7 @@ public:
VK_PPC_TOC_LO, // symbol@toc@l
VK_PPC_TOC_HI, // symbol@toc@h
VK_PPC_TOC_HA, // symbol@toc@ha
+ VK_PPC_DTPMOD, // symbol@dtpmod
VK_PPC_TPREL, // symbol@tprel
VK_PPC_TPREL_LO, // symbol@tprel@l
VK_PPC_TPREL_HI, // symbol@tprel@h