diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-21 19:50:22 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-11-21 19:50:22 +0000 |
commit | e3904342515658a8561a53b7ef874aace47b700c (patch) | |
tree | 7b0c2383ac21893b87c257dc72440e7d7c3830b9 /lib/MC | |
parent | d6f048959a8a747f7b8a2fe830e8589a106f090e (diff) | |
download | external_llvm-e3904342515658a8561a53b7ef874aace47b700c.zip external_llvm-e3904342515658a8561a53b7ef874aace47b700c.tar.gz external_llvm-e3904342515658a8561a53b7ef874aace47b700c.tar.bz2 |
Add relocations used for mips big GOT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCExpr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/MC/MCExpr.cpp b/lib/MC/MCExpr.cpp index e033634..de2f375 100644 --- a/lib/MC/MCExpr.cpp +++ b/lib/MC/MCExpr.cpp @@ -229,6 +229,10 @@ StringRef MCSymbolRefExpr::getVariantKindName(VariantKind Kind) { case VK_Mips_GOT_OFST: return "GOT_OFST"; case VK_Mips_HIGHER: return "HIGHER"; case VK_Mips_HIGHEST: return "HIGHEST"; + case VK_Mips_GOT_HI16: return "GOT_HI16"; + case VK_Mips_GOT_LO16: return "GOT_LO16"; + case VK_Mips_CALL_HI16: return "CALL_HI16"; + case VK_Mips_CALL_LO16: return "CALL_LO16"; } llvm_unreachable("Invalid variant kind"); } |