summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/mipsel16-f.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mips/mipsel16-f.d')
-rw-r--r--gas/testsuite/gas/mips/mipsel16-f.d31
1 files changed, 31 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mips/mipsel16-f.d b/gas/testsuite/gas/mips/mipsel16-f.d
new file mode 100644
index 000000000000..9331f10ad01e
--- /dev/null
+++ b/gas/testsuite/gas/mips/mipsel16-f.d
@@ -0,0 +1,31 @@
+#objdump: -rst -mips16
+#name: MIPS16 reloc 2
+#as: -32 -mips16
+#source: mips16-f.s
+
+# Check MIPS16 reloc processing
+
+.*: +file format elf.*mips.*
+
+SYMBOL TABLE:
+0+0000000 l d \.text 0+0000000 (|\.text)
+0+0000000 l d \.data 0+0000000 (|\.data)
+0+0000000 l d \.bss 0+0000000 (|\.bss)
+0+0000000 l d foo 0+0000000 (|foo)
+0+0000000 l d \.reginfo 0+0000000 (|\.reginfo)
+0+0000000 l d \.(mdebug|pdr) 0+0000000 (|\.mdebug|\.pdr)
+0+0000002 l \.text 0+0000000 0xf0 l1
+
+
+RELOCATION RECORDS FOR \[foo\]:
+OFFSET [ ]+ TYPE VALUE
+0+0000000 R_MIPS_32 l1
+
+
+Contents of section \.text:
+ 0000 00650065 00650065 00650065 00650065 .*
+Contents of section \.reginfo:
+ 0000 01000000 00000000 00000000 00000000 .*
+ 0010 00000000 00000000 .*
+Contents of section foo:
+ 0000 03000000 00000000 00000000 00000000 .*