aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/elf_eflags_pic0.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Mips/elf_eflags_pic0.s')
-rw-r--r--test/MC/Mips/elf_eflags_pic0.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/Mips/elf_eflags_pic0.s b/test/MC/Mips/elf_eflags_pic0.s
new file mode 100644
index 0000000..a78ca03
--- /dev/null
+++ b/test/MC/Mips/elf_eflags_pic0.s
@@ -0,0 +1,7 @@
+# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o -| llvm-readobj -h | FileCheck %s
+
+# This *MUST* match the output of gas compiled with the same triple.
+# CHECK: Flags [ (0x50001004)
+
+.abicalls
+.option pic0