This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] One more MIPS gas testcase
- To: binutils at sources dot redhat dot com
- Subject: [PATCH] One more MIPS gas testcase
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- Date: Sun, 26 Aug 2001 17:36:12 +0200
Hi All,
this adds a missing MIPS16 relocation testcase of the
endianness/traditional permutations.
Thiemo
2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
/gas/testsuite/ChangeLog
* gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16
relocations, tradtional variant.
diff -BurpNX /bigdisk/src/binutils-exclude src-orig/gas/testsuite/gas/mips/tmips16-f.d src/gas/testsuite/gas/mips/tmips16-f.d
--- src-orig/gas/testsuite/gas/mips/tmips16-f.d Thu Jan 1 01:00:00 1970
+++ src/gas/testsuite/gas/mips/tmips16-f.d Sun Aug 26 17:17:44 2001
@@ -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 .*