[mips] [IAS] Merge the micromips-expressions.s test into expr1.s. NFC.
[oota-llvm.git] / test / MC / Mips / xgot.s
index ec564c617a3528132532dfbea7ce3f31313e80f6..3380a856375f6e2f30a944d258c5a16c8547c484 100644 (file)
@@ -1,20 +1,17 @@
 // 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.
 
 // CHECK: Relocations [
-// CHECK:     0x{{[0-9,A-F]+}} R_MIPS_HI16
-// CHECK:     0x{{[0-9,A-F]+}} R_MIPS_LO16
-// 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_LO16
+// CHECK:   0x0 R_MIPS_HI16 _gp_disp
+// CHECK:   0x4 R_MIPS_LO16 _gp_disp
+// CHECK:   0x14 R_MIPS_GOT_HI16 ext_1
+// CHECK:   0x1C R_MIPS_GOT_LO16 ext_1
+// CHECK:   0x24 R_MIPS_CALL_HI16 printf
+// CHECK:   0x30 R_MIPS_CALL_LO16 printf
+// CHECK:   0x2C R_MIPS_GOT16 $.str
+// CHECK:   0x38 R_MIPS_LO16 $.str
 // CHECK: ]
 
        .text