summaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/xgot.s
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-03-31 15:15:02 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-03-31 15:15:02 +0000
commite7c7ba0782d5dcafcd7b4e4be4cc098bff000a27 (patch)
treefc2590ab26693bfe7a261c88cbc8e16953217745 /test/MC/Mips/xgot.s
parent857d651ba4bc2b5494bfd7021df4285741d22c53 (diff)
[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
Diffstat (limited to 'test/MC/Mips/xgot.s')
-rw-r--r--test/MC/Mips/xgot.s5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/MC/Mips/xgot.s b/test/MC/Mips/xgot.s
index ec564c617a35..072e662c5ce6 100644
--- a/test/MC/Mips/xgot.s
+++ b/test/MC/Mips/xgot.s
@@ -1,8 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o - | llvm-readobj -r | FileCheck %s
-// Expected failure since the mips backend can't handle this yet.
-// XFAIL: *
-
// Check that the appropriate relocations were created.
// For the xgot case we want to see R_MIPS_[GOT|CALL]_[HI|LO]16.
@@ -12,8 +9,8 @@
// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_GOT_HI16
// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_GOT_LO16
// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_CALL_HI16
-// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_CALL_LO16
// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_GOT16
+// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_CALL_LO16
// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_LO16
// CHECK: ]