* gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16
authorThiemo Seufer <ths@networkno.de>
Thu, 6 Sep 2001 20:02:20 +0000 (20:02 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 6 Sep 2001 20:02:20 +0000 (20:02 +0000)
relocations, tradtional variant.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/tmips16-f.d [new file with mode: 0644]

index 6398610..f0422b0 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-06  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16
+       relocations, tradtional variant.
+\r
 2001-08-04  Richard Henderson  <rth@redhat.com>
 
        * gas/alpha/alpha.exp: New file.
diff --git a/gas/testsuite/gas/mips/tmips16-f.d b/gas/testsuite/gas/mips/tmips16-f.d
new file mode 100644 (file)
index 0000000..a6d4491
--- /dev/null
@@ -0,0 +1,34 @@
+#objdump: -rst -mips16
+#name: MIPS16 reloc 2
+#as: -mips16
+#source: mips16-f.s
+
+# Check MIPS16 reloc processing
+
+.*: +file format elf.*mips.*
+
+SYMBOL TABLE:
+0+0000000 l    d  \.text       0+0000000 
+0+0000000 l    d  \.data       0+0000000 
+0+0000000 l    d  \.bss        0+0000000 
+0+0000002 l       \.text       0+0000000 0xf0 l1
+0+0000000 l    d  foo  0+0000000 
+0+0000000 l    d  \.reginfo    0+0000000 
+0+0000000 l    d  \.(mdebug|pdr)       0+0000000 
+
+
+RELOCATION RECORDS FOR \[foo\]:
+OFFSET [ ]+ TYPE              VALUE 
+0+0000000 R_MIPS_32         l1
+
+
+Contents of section \.text:
+ 0000 65006500 65006500 65006500 65006500  .*
+Contents of section \.data:
+Contents of section \.reginfo:
+ 0000 00000001 00000000 00000000 00000000  .*
+ 0010 00000000 00000000                    .*
+Contents of section \.(mdebug|pdr):
+#...
+Contents of section foo:
+ 0000 00000003 00000000 00000000 00000000  .*