aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2001-09-06 20:02:20 +0000
committerThiemo Seufer <ths@networkno.de>2001-09-06 20:02:20 +0000
commit8050ee1adac4a14bbd958501e8ef4a29ef9707bc (patch)
tree4454812d4fb072bb1984d837f7024729fb249444 /gas
parent1fdf02497c16f3f011e3548c4bb810b26ac670b9 (diff)
downloadgdb-8050ee1adac4a14bbd958501e8ef4a29ef9707bc.zip
gdb-8050ee1adac4a14bbd958501e8ef4a29ef9707bc.tar.gz
gdb-8050ee1adac4a14bbd958501e8ef4a29ef9707bc.tar.bz2
* gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16
relocations, tradtional variant.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/mips/tmips16-f.d34
2 files changed, 39 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 6398610..f0422b0 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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.
+
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
index 0000000..a6d4491
--- /dev/null
+++ b/gas/testsuite/gas/mips/tmips16-f.d
@@ -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 .*