[mips] Implement missing relocations in the integrated assembler.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 31 Mar 2014 15:15:02 +0000 (15:15 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 31 Mar 2014 15:15:02 +0000 (15:15 +0000)
commite7c7ba0782d5dcafcd7b4e4be4cc098bff000a27
treefc2590ab26693bfe7a261c88cbc8e16953217745
parent857d651ba4bc2b5494bfd7021df4285741d22c53
[mips] Implement missing relocations in the integrated assembler.

%got_hi, %got_lo, %call_hi, %call_lo, %higher, and %highest are now recognised
by MipsAsmParser::getVariantKind().

To prevent future issues with missing entries in this StringSwitch, I've added
an assertion to the default case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205200 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
test/MC/Mips/xgot.s