summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLogan Chien <tzuhsiang.chien@gmail.com>2012-12-12 07:14:46 +0000
committerLogan Chien <tzuhsiang.chien@gmail.com>2012-12-12 07:14:46 +0000
commit37c7461fc3f1983a81bfe934855d707fd6572e78 (patch)
treeb1cc2e9481f970c248f19b683f5b175f2d28abc9 /include
parent9ee68e3f729e95a12e9f266a09e8ffdbaeda83f2 (diff)
downloadllvm-37c7461fc3f1983a81bfe934855d707fd6572e78.tar.gz
llvm-37c7461fc3f1983a81bfe934855d707fd6572e78.tar.bz2
llvm-37c7461fc3f1983a81bfe934855d707fd6572e78.tar.xz
Add ARM NONE and PREL31 relocation types.
Add R_ARM_NONE and R_ARM_PREL31 relocation types to MCExpr. Both of them will be used while generating .ARM.extab and .ARM.exidx sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCExpr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/MC/MCExpr.h b/include/llvm/MC/MCExpr.h
index f2c8f030f0..3ac5b39997 100644
--- a/include/llvm/MC/MCExpr.h
+++ b/include/llvm/MC/MCExpr.h
@@ -160,6 +160,7 @@ public:
VK_TLVP, // Mach-O thread local variable relocation
VK_SECREL,
// FIXME: We'd really like to use the generic Kinds listed above for these.
+ VK_ARM_NONE,
VK_ARM_PLT, // ARM-style PLT references. i.e., (PLT) instead of @PLT
VK_ARM_TLSGD, // ditto for TLSGD, GOT, GOTOFF, TPOFF and GOTTPOFF
VK_ARM_GOT,
@@ -168,6 +169,7 @@ public:
VK_ARM_GOTTPOFF,
VK_ARM_TARGET1,
VK_ARM_TARGET2,
+ VK_ARM_PREL31,
VK_PPC_TOC, // TOC base
VK_PPC_TOC_ENTRY, // TOC entry