This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Update mips testsuite
- To: binutils at sourceware dot cygnus dot com
- Subject: PATCH: Update mips testsuite
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Fri, 10 Aug 2001 13:05:30 -0700
I will check in this patch shortly. mips16-f/mipsel16-f failed because
there was a symbol table bug in mips16-f and an endian bug in
mipsel16-f. I fixed them also.
H.J.
----
2001-08-10 H.J. Lu <hjl@gnu.org>
* gas/mips/e32-rel2.d: Updated for the objdump output change.
* gas/mips/e32el-rel2.d: Likewise.
* gas/mips/elf-rel.d: Likewise.
* gas/mips/elf-rel2.d: Likewise.
* gas/mips/elf-rel3.d: Likewise.
* gas/mips/elf_e_flags1.d: Likewise.
* gas/mips/elf_e_flags2.d: Likewise.
* gas/mips/elf_e_flags3.d: Likewise.
* gas/mips/elf_e_flags4.d: Likewise.
* gas/mips/elfel-rel.d: Likewise.
* gas/mips/elfel-rel2.d: Likewise.
* gas/mips/elfel-rel3.d: Likewise.
* gas/mips/empic.d: Likewise.
* gas/mips/mips16-e.d: Likewise.
* gas/mips/mips16-f.d: Likewise.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/tmips16-e.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.
* gas/mips/mips16-f.d: Fix the symbol table output.
* gas/mips/mipsel16-f.d: Fix the endian.
* gas/mips/mips.exp; Don't xfail mips16-f/mipsel16-f.
Index: gas/mips/e32-rel2.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/e32-rel2.d,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 e32-rel2.d
--- gas/mips/e32-rel2.d 1999/10/09 16:13:45 1.1.1.1
+++ gas/mips/e32-rel2.d 2001/08/10 19:56:13
@@ -9,7 +9,7 @@
.*: file format elf.*mips
RELOCATION RECORDS FOR \[\.text\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000000 R_MIPS_LITERAL \.lit8\+0x0+0004000
0+0000004 R_MIPS_LITERAL \.lit8\+0x0+0004000
0+0000008 R_MIPS_LITERAL \.lit8\+0x0+0004000
Index: gas/mips/e32el-rel2.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/e32el-rel2.d,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 e32el-rel2.d
--- gas/mips/e32el-rel2.d 2001/05/25 19:07:03 1.1.1.1
+++ gas/mips/e32el-rel2.d 2001/08/10 19:56:13
@@ -9,7 +9,7 @@
.*: file format elf.*mips
RELOCATION RECORDS FOR \[\.text\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000000 R_MIPS_LITERAL \.lit8\+0x0+0004000
0+0000004 R_MIPS_LITERAL \.lit8\+0x0+0004000
0+0000008 R_MIPS_LITERAL \.lit8\+0x0+0004000
Index: gas/mips/elf-rel.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elf-rel.d,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 elf-rel.d
--- gas/mips/elf-rel.d 2001/05/25 19:06:57 1.1.1.2
+++ gas/mips/elf-rel.d 2001/08/10 19:56:13
@@ -6,7 +6,7 @@
.*: file format elf.*mips
RELOCATION RECORDS FOR \[\.text\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000000 R_MIPS_HI16 \.text
0+0000018 R_MIPS_LO16 \.text
0+000000c R_MIPS_HI16 \.text
Index: gas/mips/elf-rel2.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elf-rel2.d,v
retrieving revision 1.1.1.3
diff -u -p -r1.1.1.3 elf-rel2.d
--- gas/mips/elf-rel2.d 2001/07/14 17:05:37 1.1.1.3
+++ gas/mips/elf-rel2.d 2001/08/10 19:56:13
@@ -8,7 +8,7 @@
.*: file format elf.*mips
RELOCATION RECORDS FOR \[\.text\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000000 R_MIPS_LITERAL \.lit8\+0x0+0004000
0+0000004 R_MIPS_LITERAL \.lit8\+0x0+0004000
0+0000008 R_MIPS_LITERAL \.lit8\+0x0+0004000
Index: gas/mips/elf-rel3.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elf-rel3.d,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 elf-rel3.d
--- gas/mips/elf-rel3.d 2001/06/09 06:34:04 1.1.1.2
+++ gas/mips/elf-rel3.d 2001/08/10 19:56:13
@@ -4,7 +4,7 @@
.*: file format elf.*mips
RELOCATION RECORDS FOR \[\.data\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000004 R_MIPS_32 b
0+0000008 R_MIPS_32 .data
Index: gas/mips/elf_e_flags1.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elf_e_flags1.d,v
retrieving revision 1.1.1.6
diff -u -p -r1.1.1.6 elf_e_flags1.d
--- gas/mips/elf_e_flags1.d 2001/07/14 17:05:37 1.1.1.6
+++ gas/mips/elf_e_flags1.d 2001/08/10 19:56:13
@@ -6,17 +6,17 @@
.*:.*file format.*mips.*
architecture: mips:.*, flags 0x00000011:
HAS_RELOC, HAS_SYMS
-start address 0x0000000000000000
+start address 0x0+00
Disassembly of section .text:
-0000000000000000 <foo>:
+0+00 <foo>:
0: 00850019 multu a0,a1
4: 00001012 mflo v0
8: 03e00008 jr ra
c: 24420001 addiu v0,v0,1
-0000000000000010 <main>:
+0+10 <main>:
10: 27bdffd8 addiu sp,sp,-40
14: afbf0020 sw ra,32\(sp\)
18: 0c000000 jal 0 <foo>
Index: gas/mips/elf_e_flags2.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elf_e_flags2.d,v
retrieving revision 1.1.1.4
diff -u -p -r1.1.1.4 elf_e_flags2.d
--- gas/mips/elf_e_flags2.d 2001/05/21 17:37:00 1.1.1.4
+++ gas/mips/elf_e_flags2.d 2001/08/10 19:56:13
@@ -6,16 +6,16 @@
.*:.*file format.*mips.*
architecture: mips:4650, flags 0x00000011:
HAS_RELOC, HAS_SYMS
-start address 0x0000000000000000
+start address 0x0+00
Disassembly of section .text:
-0000000000000000 <foo>:
+0+00 <foo>:
0: 70851002 mul v0,a0,a1
4: 03e00008 jr ra
8: 24420001 addiu v0,v0,1
-000000000000000c <main>:
+0+0c <main>:
c: 27bdffd8 addiu sp,sp,-40
10: afbf0020 sw ra,32\(sp\)
14: 0c000000 jal 0 <foo>
Index: gas/mips/elf_e_flags3.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elf_e_flags3.d,v
retrieving revision 1.1.1.5
diff -u -p -r1.1.1.5 elf_e_flags3.d
--- gas/mips/elf_e_flags3.d 2001/07/03 15:15:45 1.1.1.5
+++ gas/mips/elf_e_flags3.d 2001/08/10 19:56:13
@@ -6,16 +6,16 @@
.*:.*file format.*mips.*
architecture: mips:4650, flags 0x00000011:
HAS_RELOC, HAS_SYMS
-start address 0x0000000000000000
+start address 0x0+00
Disassembly of section .text:
-0000000000000000 <foo>:
+0+00 <foo>:
0: 70851002 mul v0,a0,a1
4: 03e00008 jr ra
8: 24420001 addiu v0,v0,1
-000000000000000c <main>:
+0+0c <main>:
c: 27bdffd8 addiu sp,sp,-40
10: afbf0020 sw ra,32\(sp\)
14: 0c000000 jal 0 <foo>
Index: gas/mips/elf_e_flags4.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elf_e_flags4.d,v
retrieving revision 1.1.1.5
diff -u -p -r1.1.1.5 elf_e_flags4.d
--- gas/mips/elf_e_flags4.d 2001/07/03 15:15:45 1.1.1.5
+++ gas/mips/elf_e_flags4.d 2001/08/10 19:56:13
@@ -6,16 +6,16 @@
.*:.*file format.*mips.*
architecture: mips:4650, flags 0x00000011:
HAS_RELOC, HAS_SYMS
-start address 0x0000000000000000
+start address 0x0+00
Disassembly of section .text:
-0000000000000000 <foo>:
+0+00 <foo>:
0: 70851002 mul v0,a0,a1
4: 03e00008 jr ra
8: 24420001 addiu v0,v0,1
-000000000000000c <main>:
+0+0c <main>:
c: 27bdffd8 addiu sp,sp,-40
10: afbf0020 sw ra,32\(sp\)
14: 0c000000 jal 0 <foo>
Index: gas/mips/elfel-rel.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elfel-rel.d,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 elfel-rel.d
--- gas/mips/elfel-rel.d 2001/05/25 19:07:03 1.1.1.1
+++ gas/mips/elfel-rel.d 2001/08/10 19:56:13
@@ -7,7 +7,7 @@
.*: file format elf.*mips
RELOCATION RECORDS FOR \[\.text\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000000 R_MIPS_HI16 \.text
0+0000018 R_MIPS_LO16 \.text
0+000000c R_MIPS_HI16 \.text
Index: gas/mips/elfel-rel2.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elfel-rel2.d,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 elfel-rel2.d
--- gas/mips/elfel-rel2.d 2001/05/25 19:07:03 1.1.1.1
+++ gas/mips/elfel-rel2.d 2001/08/10 19:56:13
@@ -9,7 +9,7 @@
.*: file format elf.*mips
RELOCATION RECORDS FOR \[\.text\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000000 R_MIPS_LITERAL \.lit8\+0x0+0004000
0+0000004 R_MIPS_LITERAL \.lit8\+0x0+0004000
0+0000008 R_MIPS_LITERAL \.lit8\+0x0+0004000
Index: gas/mips/elfel-rel3.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elfel-rel3.d,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 elfel-rel3.d
--- gas/mips/elfel-rel3.d 2001/06/09 06:34:04 1.1.1.2
+++ gas/mips/elfel-rel3.d 2001/08/10 19:56:13
@@ -5,7 +5,7 @@
.*: file format elf.*mips
RELOCATION RECORDS FOR \[\.data\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000004 R_MIPS_32 b
0+0000008 R_MIPS_32 .data
Index: gas/mips/empic.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/empic.d,v
retrieving revision 1.1.1.3
diff -u -p -r1.1.1.3 empic.d
--- gas/mips/empic.d 2001/06/07 17:02:51 1.1.1.3
+++ gas/mips/empic.d 2001/08/10 19:56:13
@@ -23,7 +23,7 @@ SYMBOL TABLE:
RELOCATION RECORDS FOR \[\.text\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000004 R_MIPS_GNU_REL16_S2 g1
0+000000c R_MIPS_GNU_REL16_S2 g2
0+0000014 R_MIPS_GNU_REL16_S2 g2
@@ -60,7 +60,7 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR \[\.foo\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000004 R_MIPS_GNU_REL_HI16 g1
0+0000008 R_MIPS_GNU_REL_LO16 g1
0+000000c R_MIPS_GNU_REL_HI16 \.foo
Index: gas/mips/mips.exp
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/mips.exp,v
retrieving revision 1.1.1.15
diff -u -p -r1.1.1.15 mips.exp
--- gas/mips/mips.exp 2001/08/05 01:03:37 1.1.1.15
+++ gas/mips/mips.exp 2001/08/10 19:56:13
@@ -160,7 +160,6 @@ if { [istarget mips*-*-*] } then {
run_dump_test "${tmips}${el}empic"
if { !$no_mips16 } {
run_dump_test "${tmips}mips${el}16-e"
- setup_xfail "mips*-*-*"
run_dump_test "mips${el}16-f"
}
}
Index: gas/mips/mips16-e.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/mips16-e.d,v
retrieving revision 1.1.1.3
diff -u -p -r1.1.1.3 mips16-e.d
--- gas/mips/mips16-e.d 2001/06/07 17:02:55 1.1.1.3
+++ gas/mips/mips16-e.d 2001/08/10 19:56:13
@@ -19,7 +19,7 @@ SYMBOL TABLE:
RELOCATION RECORDS FOR \[foo\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000000 R_MIPS_32 l1
0+0000004 R_MIPS_32 l1
0+0000008 R_MIPS_32 L1.1
Index: gas/mips/mips16-f.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/mips16-f.d,v
retrieving revision 1.1.1.3
diff -u -p -r1.1.1.3 mips16-f.d
--- gas/mips/mips16-f.d 2001/06/07 17:02:55 1.1.1.3
+++ gas/mips/mips16-f.d 2001/08/10 19:56:13
@@ -10,14 +10,14 @@ 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
-0+0000002 l \.text 0+0000000 0xf0 l1
RELOCATION RECORDS FOR \[foo\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000000 R_MIPS_32 l1
Index: gas/mips/mipsel16-f.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/mipsel16-f.d,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 mipsel16-f.d
--- gas/mips/mipsel16-f.d 2001/06/07 17:02:57 1.1.1.2
+++ gas/mips/mipsel16-f.d 2001/08/10 19:56:13
@@ -18,7 +18,7 @@ SYMBOL TABLE:
RELOCATION RECORDS FOR \[foo\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000000 R_MIPS_32 l1
@@ -31,4 +31,4 @@ Contents of section \.reginfo:
Contents of section \.(mdebug|pdr):
#...
Contents of section foo:
- 0000 00000003 00000000 00000000 00000000 .*
+ 0000 03000000 00000000 00000000 00000000 .*
Index: gas/mips/telempic.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/telempic.d,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 telempic.d
--- gas/mips/telempic.d 2001/06/07 17:02:57 1.1.1.2
+++ gas/mips/telempic.d 2001/08/10 19:56:13
@@ -24,7 +24,7 @@ SYMBOL TABLE:
RELOCATION RECORDS FOR \[\.text\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000004 R_MIPS_GNU_REL16_S2 g1
0+000000c R_MIPS_GNU_REL16_S2 g2
0+0000014 R_MIPS_GNU_REL16_S2 g2
@@ -61,7 +61,7 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR \[\.foo\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000004 R_MIPS_GNU_REL_HI16 g1
0+0000008 R_MIPS_GNU_REL_LO16 g1
0+000000c R_MIPS_GNU_REL_HI16 \.foo
Index: gas/mips/tempic.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/tempic.d,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 tempic.d
--- gas/mips/tempic.d 2001/06/07 17:02:57 1.1.1.2
+++ gas/mips/tempic.d 2001/08/10 19:56:13
@@ -24,7 +24,7 @@ SYMBOL TABLE:
RELOCATION RECORDS FOR \[\.text\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000004 R_MIPS_GNU_REL16_S2 g1
0+000000c R_MIPS_GNU_REL16_S2 g2
0+0000014 R_MIPS_GNU_REL16_S2 g2
@@ -61,7 +61,7 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR \[\.foo\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000004 R_MIPS_GNU_REL_HI16 g1
0+0000008 R_MIPS_GNU_REL_LO16 g1
0+000000c R_MIPS_GNU_REL_HI16 \.foo
Index: gas/mips/tmips16-e.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/tmips16-e.d,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 tmips16-e.d
--- gas/mips/tmips16-e.d 2001/06/07 17:02:57 1.1.1.2
+++ gas/mips/tmips16-e.d 2001/08/10 19:56:13
@@ -20,7 +20,7 @@ SYMBOL TABLE:
RELOCATION RECORDS FOR \[foo\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000000 R_MIPS_32 l1
0+0000004 R_MIPS_32 l1
0+0000008 R_MIPS_32 L1.1
Index: gas/mips/tmipsel16-e.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/tmipsel16-e.d,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 tmipsel16-e.d
--- gas/mips/tmipsel16-e.d 2001/06/07 17:02:57 1.1.1.2
+++ gas/mips/tmipsel16-e.d 2001/08/10 19:56:13
@@ -20,7 +20,7 @@ SYMBOL TABLE:
RELOCATION RECORDS FOR \[foo\]:
-OFFSET TYPE VALUE
+OFFSET [ ]+ TYPE VALUE
0+0000000 R_MIPS_32 l1
0+0000004 R_MIPS_32 l1
0+0000008 R_MIPS_32 L1.1