summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/mips/insn-opts.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/mips/insn-opts.d')
-rw-r--r--binutils-2.25/gas/testsuite/gas/mips/insn-opts.d18
1 files changed, 18 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/mips/insn-opts.d b/binutils-2.25/gas/testsuite/gas/mips/insn-opts.d
new file mode 100644
index 00000000..a61c95e1
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/mips/insn-opts.d
@@ -0,0 +1,18 @@
+#objdump: -dtz -j .text --prefix-addresses --show-raw-insn
+#name: MIPS .insn default file options
+
+# Check that .insn at the beginning of assembly sees default file options
+# such as the ISA mode right.
+
+.*: +file format .*mips.*
+
+SYMBOL TABLE:
+0+000000 l d \.text 0+000000 \.text
+0+000000 g F \.text 0+000004 foo
+0+000004 g F \.text 0+000004 0x80 bar
+0+000008 g O \.text 0+000004 baz
+
+Disassembly of section \.text:
+0+000000 <foo> 00000000 nop
+0+000004 <bar> 0000 0000 nop
+0+000008 <baz> .*