diff options
author | Logan Chien <tzuhsiang.chien@gmail.com> | 2012-12-12 07:14:46 +0000 |
---|---|---|
committer | Logan Chien <tzuhsiang.chien@gmail.com> | 2012-12-12 07:14:46 +0000 |
commit | 37c7461fc3f1983a81bfe934855d707fd6572e78 (patch) | |
tree | b1cc2e9481f970c248f19b683f5b175f2d28abc9 /include/llvm/MC | |
parent | 9ee68e3f729e95a12e9f266a09e8ffdbaeda83f2 (diff) | |
download | external_llvm-37c7461fc3f1983a81bfe934855d707fd6572e78.zip external_llvm-37c7461fc3f1983a81bfe934855d707fd6572e78.tar.gz external_llvm-37c7461fc3f1983a81bfe934855d707fd6572e78.tar.bz2 |
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/llvm/MC')
-rw-r--r-- | include/llvm/MC/MCExpr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/MC/MCExpr.h b/include/llvm/MC/MCExpr.h index f2c8f03..3ac5b39 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 |