public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Test suite results for mipsel-unknown-linux-gnu (2.16.93)
@ 2006-05-19 18:33 Martin Michlmayr
  2006-05-19 21:21 ` Thiemo Seufer
  2006-05-19 21:22 ` Thiemo Seufer
  0 siblings, 2 replies; 4+ messages in thread
From: Martin Michlmayr @ 2006-05-19 18:33 UTC (permalink / raw)
  To: binutils

mipsel has two test failures in gas that mips doesn't have; the other
failures (in ld) as the same as on mips.


Test Run By tbm on Fri May 19 17:50:02 2006
Native configuration is mipsel-unknown-linux-gnu

		=== binutils tests ===

Schedule of variations:
    unix

		=== binutils Summary ===

# of expected passes		35

		=== gas tests ===

Schedule of variations:
    unix

FAIL: gas/mips/vxworks1
FAIL: gas/mips/vxworks1-xgot

		=== gas Summary ===

# of expected passes		579
# of unexpected failures	2
# of expected failures		1


		=== ld tests ===

Schedule of variations:
    unix

FAIL: vers24a
FAIL: vers24b
FAIL: vers24c
FAIL: visibility (hidden_undef) (non PIC, load offset)
FAIL: visibility (hidden_weak) (non PIC)
FAIL: visibility (hidden_weak)
FAIL: visibility (hidden_weak) (PIC main, non PIC so)
FAIL: visibility (hidden_weak) (PIC main)
FAIL: visibility (protected_undef) (non PIC, load offset)
FAIL: visibility (protected_weak) (non PIC)
FAIL: visibility (protected_weak)
FAIL: visibility (protected_weak) (PIC main, non PIC so)
FAIL: visibility (protected_weak) (PIC main)
FAIL: MIPS textrel-1
FAIL: NOCROSSREFS 3

		=== ld Summary ===

# of expected passes		281
# of unexpected failures	15
# of expected failures		20
# of unsupported tests		1

Errors:

/home/tbm/src/binutils-2.16.93/gas/testsuite/lib/run ../as-new  -mips2 -mvxworks-pic -mabi=32 -o dump.o /home/tbm/src/binutils-2.16.93/gas/testsuite/gas/mips/vxworks1.s
/home/tbm/src/binutils-2.16.93/gas/testsuite/../../binutils/objdump  -dr dump.o > dump.out
regexp_diff match failure
regexp "^.*:    88240000        lwl     a0,0\(at\)$"
line   "  2c:   88240003        lwl     a0,3(at)"
regexp_diff match failure
regexp "^.*:    98240003        lwr     a0,3\(at\)$"
line   "  30:   98240000        lwr     a0,0(at)"
regexp_diff match failure
regexp "^.*:    88240000        lwl     a0,0\(at\)$"
line   "  38:   88240003        lwl     a0,3(at)"
regexp_diff match failure
regexp "^.*:    98240003        lwr     a0,3\(at\)$"
line   "  3c:   98240000        lwr     a0,0(at)"
regexp_diff match failure
regexp "^.*:    a8240000        swl     a0,0\(at\)$"
line   "  44:   a8240003        swl     a0,3(at)"
regexp_diff match failure
regexp "^.*:    b8240003        swr     a0,3\(at\)$"
line   "  48:   b8240000        swr     a0,0(at)"
regexp_diff match failure
regexp "^.*:    a8240000        swl     a0,0\(at\)$"
line   "  50:   a8240003        swl     a0,3(at)"
regexp_diff match failure
regexp "^.*:    b8240003        swr     a0,3\(at\)$"
line   "  54:   b8240000        swr     a0,0(at)"
FAIL: gas/mips/vxworks1
/home/tbm/src/binutils-2.16.93/gas/testsuite/lib/run ../as-new  -mips2 -mvxworks-pic -xgot -mabi=32 -o dump.o /home/tbm/src/binutils-2.16.93/gas/testsuite/gas/mips/vxworks1.s
/home/tbm/src/binutils-2.16.93/gas/testsuite/../../binutils/objdump  -dr dump.o > dump.out
regexp_diff match failure
regexp "^.*:    88240000        lwl     a0,0\(at\)$"
line   "  64:   88240003        lwl     a0,3(at)"
regexp_diff match failure
regexp "^.*:    98240003        lwr     a0,3\(at\)$"
line   "  68:   98240000        lwr     a0,0(at)"
regexp_diff match failure
regexp "^.*:    88240000        lwl     a0,0\(at\)$"
line   "  78:   88240003        lwl     a0,3(at)"
regexp_diff match failure
regexp "^.*:    98240003        lwr     a0,3\(at\)$"
line   "  7c:   98240000        lwr     a0,0(at)"
regexp_diff match failure
regexp "^.*:    a8240000        swl     a0,0\(at\)$"
line   "  8c:   a8240003        swl     a0,3(at)"
regexp_diff match failure
regexp "^.*:    b8240003        swr     a0,3\(at\)$"
line   "  90:   b8240000        swr     a0,0(at)"
regexp_diff match failure
regexp "^.*:    a8240000        swl     a0,0\(at\)$"
line   "  a0:   a8240003        swl     a0,3(at)"
regexp_diff match failure
regexp "^.*:    b8240003        swr     a0,3\(at\)$"
line   "  a4:   b8240000        swr     a0,0(at)"
FAIL: gas/mips/vxworks1-xgot

-- 
Martin Michlmayr
http://www.cyrius.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Test suite results for mipsel-unknown-linux-gnu (2.16.93)
  2006-05-19 18:33 Test suite results for mipsel-unknown-linux-gnu (2.16.93) Martin Michlmayr
@ 2006-05-19 21:21 ` Thiemo Seufer
  2006-05-20  3:00   ` Daniel Jacobowitz
  2006-05-19 21:22 ` Thiemo Seufer
  1 sibling, 1 reply; 4+ messages in thread
From: Thiemo Seufer @ 2006-05-19 21:21 UTC (permalink / raw)
  To: Martin Michlmayr; +Cc: binutils

Martin Michlmayr wrote:
> mipsel has two test failures in gas that mips doesn't have; the other
> failures (in ld) as the same as on mips.
[snip]
> FAIL: gas/mips/vxworks1
> FAIL: gas/mips/vxworks1-xgot

The appended patch expands the testcases a bit and fixes those failures.
Any comments from people with more knowledge of vxworks?


Thiemo


2006-05-19  Thiemo Seufer  <ths@mips.com>

	* gas/mips/vxworks1-el.d, gas/mips/vxworks1-xgot-el.d: Add little
	endian testcases.
	* gas/mips/vxworks1.d, gas/mips/vxworks1-xgot.d: Build as big endian.
	* gas/mips/mips.exp: Run new testcases.


Index: gas/testsuite/gas/mips/mips.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips.exp,v
retrieving revision 1.117
diff -u -p -r1.117 mips.exp
--- gas/testsuite/gas/mips/mips.exp	14 May 2006 15:35:22 -0000	1.117
+++ gas/testsuite/gas/mips/mips.exp	19 May 2006 17:03:46 -0000
@@ -390,6 +390,8 @@ mips_arch_create sb1 	64	mips64	{ mips3d
 if { [istarget mips*-*-vxworks*] } {
     run_dump_test "vxworks1"
     run_dump_test "vxworks1-xgot"
+    run_dump_test "vxworks1-el"
+    run_dump_test "vxworks1-xgot-el"
 } elseif { [istarget mips*-*-*] } {
     set no_mips16 0
     set elf [expr [istarget *-*-elf*] || [istarget *-*-irix5*] || [istarget *-*-irix6* ] || [istarget *-*-linux*] || [istarget *-*-netbsd*] ]
@@ -786,6 +786,8 @@ if { [istarget mips*-*-vxworks*] } {
     }
     run_dump_test "vxworks1"
     run_dump_test "vxworks1-xgot"
+    run_dump_test "vxworks1-el"
+    run_dump_test "vxworks1-xgot-el"
 
     run_dump_test "noreorder"
 }
Index: gas/testsuite/gas/mips/vxworks1-xgot.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/vxworks1-xgot.d,v
retrieving revision 1.1
diff -u -p -r1.1 vxworks1-xgot.d
--- gas/testsuite/gas/mips/vxworks1-xgot.d	22 Mar 2006 09:28:13 -0000	1.1
+++ gas/testsuite/gas/mips/vxworks1-xgot.d	19 May 2006 17:03:46 -0000
@@ -1,4 +1,4 @@
-#as: -mips2 -mvxworks-pic -xgot -mabi=32
+#as: -mips2 -mvxworks-pic -xgot -mabi=32 -EB
 #source: vxworks1.s
 #objdump: -dr
 
Index: gas/testsuite/gas/mips/vxworks1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/vxworks1.d,v
retrieving revision 1.1
diff -u -p -r1.1 vxworks1.d
--- gas/testsuite/gas/mips/vxworks1.d	22 Mar 2006 09:28:13 -0000	1.1
+++ gas/testsuite/gas/mips/vxworks1.d	19 May 2006 17:03:46 -0000
@@ -1,4 +1,4 @@
-#as: -mips2 -mvxworks-pic -mabi=32
+#as: -mips2 -mvxworks-pic -mabi=32 -EB
 #objdump: -dr
 
 .*:     file format .*
--- /dev/null	2006-05-17 20:07:57.714000000 +0100
+++ gas/testsuite/gas/mips/vxworks1-el.d	2006-05-19 17:45:51.000000000 +0100
@@ -0,0 +1,72 @@
+#as: -mips2 -mvxworks-pic -mabi=32 -EL
+#source: vxworks1.s
+#objdump: -dr
+
+.*:     file format .*
+
+Disassembly of section \.text:
+
+00000000 <\.text>:
+#
+# la $4,local
+#
+.*:	8f840000 	lw	a0,0\(gp\)
+			.*: R_MIPS_GOT16	\.data
+#
+# la $4,global
+#
+.*:	8f840000 	lw	a0,0\(gp\)
+			.*: R_MIPS_GOT16	global
+#
+# lw $4,local
+#
+.*:	8f840000 	lw	a0,0\(gp\)
+			.*: R_MIPS_GOT16	\.data
+.*:	8c840000 	lw	a0,0\(a0\)
+#
+# lw $4,global
+#
+.*:	8f840000 	lw	a0,0\(gp\)
+			.*: R_MIPS_GOT16	global
+.*:	8c840000 	lw	a0,0\(a0\)
+#
+# sw $4,local
+#
+.*:	8f810000 	lw	at,0\(gp\)
+			.*: R_MIPS_GOT16	\.data
+.*:	ac240000 	sw	a0,0\(at\)
+#
+# sw $4,global
+#
+.*:	8f810000 	lw	at,0\(gp\)
+			.*: R_MIPS_GOT16	global
+.*:	ac240000 	sw	a0,0\(at\)
+#
+# ulw $4,local
+#
+.*:	8f810000 	lw	at,0\(gp\)
+			.*: R_MIPS_GOT16	\.data
+.*:	88240003 	lwl	a0,3\(at\)
+.*:	98240000 	lwr	a0,0\(at\)
+#
+# ulw $4,global
+#
+.*:	8f810000 	lw	at,0\(gp\)
+			.*: R_MIPS_GOT16	global
+.*:	88240003 	lwl	a0,3\(at\)
+.*:	98240000 	lwr	a0,0\(at\)
+#
+# usw $4,local
+#
+.*:	8f810000 	lw	at,0\(gp\)
+			.*: R_MIPS_GOT16	\.data
+.*:	a8240003 	swl	a0,3\(at\)
+.*:	b8240000 	swr	a0,0\(at\)
+#
+# usw $4,global
+#
+.*:	8f810000 	lw	at,0\(gp\)
+			.*: R_MIPS_GOT16	global
+.*:	a8240003 	swl	a0,3\(at\)
+.*:	b8240000 	swr	a0,0\(at\)
+	\.\.\.
--- /dev/null	2006-05-17 20:07:57.714000000 +0100
+++ gas/testsuite/gas/mips/vxworks1-xgot-el.d	2006-05-19 17:45:51.000000000 +0100
@@ -0,0 +1,102 @@
+#as: -mips2 -mvxworks-pic -xgot -mabi=32 -EL
+#source: vxworks1.s
+#objdump: -dr
+
+.*:     file format .*
+
+Disassembly of section \.text:
+
+00000000 <\.text>:
+#
+# la $4,local
+#
+.*:	3c040000 	lui	a0,0x0
+			.*: R_MIPS_GOT_HI16	\.data
+.*:	009c2021 	addu	a0,a0,gp
+.*:	8c840000 	lw	a0,0\(a0\)
+			.*: R_MIPS_GOT_LO16	\.data
+#
+# la $4,global
+#
+.*:	3c040000 	lui	a0,0x0
+			.*: R_MIPS_GOT_HI16	global
+.*:	009c2021 	addu	a0,a0,gp
+.*:	8c840000 	lw	a0,0\(a0\)
+			.*: R_MIPS_GOT_LO16	global
+#
+# lw $4,local
+#
+.*:	3c040000 	lui	a0,0x0
+			.*: R_MIPS_GOT_HI16	\.data
+.*:	009c2021 	addu	a0,a0,gp
+.*:	8c840000 	lw	a0,0\(a0\)
+			.*: R_MIPS_GOT_LO16	\.data
+.*:	8c840000 	lw	a0,0\(a0\)
+#
+# lw $4,global
+#
+.*:	3c040000 	lui	a0,0x0
+			.*: R_MIPS_GOT_HI16	global
+.*:	009c2021 	addu	a0,a0,gp
+.*:	8c840000 	lw	a0,0\(a0\)
+			.*: R_MIPS_GOT_LO16	global
+.*:	8c840000 	lw	a0,0\(a0\)
+#
+# sw $4,local
+#
+.*:	3c010000 	lui	at,0x0
+			.*: R_MIPS_GOT_HI16	\.data
+.*:	003c0821 	addu	at,at,gp
+.*:	8c210000 	lw	at,0\(at\)
+			.*: R_MIPS_GOT_LO16	\.data
+.*:	ac240000 	sw	a0,0\(at\)
+#
+# sw $4,global
+#
+.*:	3c010000 	lui	at,0x0
+			.*: R_MIPS_GOT_HI16	global
+.*:	003c0821 	addu	at,at,gp
+.*:	8c210000 	lw	at,0\(at\)
+			.*: R_MIPS_GOT_LO16	global
+.*:	ac240000 	sw	a0,0\(at\)
+#
+# ulw $4,local
+#
+.*:	3c010000 	lui	at,0x0
+			.*: R_MIPS_GOT_HI16	\.data
+.*:	003c0821 	addu	at,at,gp
+.*:	8c210000 	lw	at,0\(at\)
+			.*: R_MIPS_GOT_LO16	\.data
+.*:	88240003 	lwl	a0,3\(at\)
+.*:	98240000 	lwr	a0,0\(at\)
+#
+# ulw $4,global
+#
+.*:	3c010000 	lui	at,0x0
+			.*: R_MIPS_GOT_HI16	global
+.*:	003c0821 	addu	at,at,gp
+.*:	8c210000 	lw	at,0\(at\)
+			.*: R_MIPS_GOT_LO16	global
+.*:	88240003 	lwl	a0,3\(at\)
+.*:	98240000 	lwr	a0,0\(at\)
+#
+# usw $4,local
+#
+.*:	3c010000 	lui	at,0x0
+			.*: R_MIPS_GOT_HI16	\.data
+.*:	003c0821 	addu	at,at,gp
+.*:	8c210000 	lw	at,0\(at\)
+			.*: R_MIPS_GOT_LO16	\.data
+.*:	a8240003 	swl	a0,3\(at\)
+.*:	b8240000 	swr	a0,0\(at\)
+#
+# usw $4,global
+#
+.*:	3c010000 	lui	at,0x0
+			.*: R_MIPS_GOT_HI16	global
+.*:	003c0821 	addu	at,at,gp
+.*:	8c210000 	lw	at,0\(at\)
+			.*: R_MIPS_GOT_LO16	global
+.*:	a8240003 	swl	a0,3\(at\)
+.*:	b8240000 	swr	a0,0\(at\)
+	\.\.\.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Test suite results for mipsel-unknown-linux-gnu (2.16.93)
  2006-05-19 18:33 Test suite results for mipsel-unknown-linux-gnu (2.16.93) Martin Michlmayr
  2006-05-19 21:21 ` Thiemo Seufer
@ 2006-05-19 21:22 ` Thiemo Seufer
  1 sibling, 0 replies; 4+ messages in thread
From: Thiemo Seufer @ 2006-05-19 21:22 UTC (permalink / raw)
  To: Martin Michlmayr; +Cc: binutils

Martin Michlmayr wrote:
[snip]
> 		=== ld tests ===
> 
> Schedule of variations:
>     unix
> 
> FAIL: vers24a
> FAIL: vers24b
> FAIL: vers24c
> FAIL: visibility (hidden_undef) (non PIC, load offset)
> FAIL: visibility (hidden_weak) (non PIC)
> FAIL: visibility (hidden_weak)
> FAIL: visibility (hidden_weak) (PIC main, non PIC so)
> FAIL: visibility (hidden_weak) (PIC main)
> FAIL: visibility (protected_undef) (non PIC, load offset)
> FAIL: visibility (protected_weak) (non PIC)
> FAIL: visibility (protected_weak)
> FAIL: visibility (protected_weak) (PIC main, non PIC so)
> FAIL: visibility (protected_weak) (PIC main)
> FAIL: MIPS textrel-1
> FAIL: NOCROSSREFS 3

The SIGILL-induced of those are apparently neither hardware nor
endianness dependent, I got the same pattern on two different
machine architectures with different endianness.


Thiemo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Test suite results for mipsel-unknown-linux-gnu (2.16.93)
  2006-05-19 21:21 ` Thiemo Seufer
@ 2006-05-20  3:00   ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2006-05-20  3:00 UTC (permalink / raw)
  To: Thiemo Seufer; +Cc: Martin Michlmayr, binutils

On Fri, May 19, 2006 at 07:04:57PM +0100, Thiemo Seufer wrote:
> Martin Michlmayr wrote:
> > mipsel has two test failures in gas that mips doesn't have; the other
> > failures (in ld) as the same as on mips.
> [snip]
> > FAIL: gas/mips/vxworks1
> > FAIL: gas/mips/vxworks1-xgot
> 
> The appended patch expands the testcases a bit and fixes those failures.
> Any comments from people with more knowledge of vxworks?
> 
> 
> Thiemo
> 
> 
> 2006-05-19  Thiemo Seufer  <ths@mips.com>
> 
> 	* gas/mips/vxworks1-el.d, gas/mips/vxworks1-xgot-el.d: Add little
> 	endian testcases.
> 	* gas/mips/vxworks1.d, gas/mips/vxworks1-xgot.d: Build as big endian.
> 	* gas/mips/mips.exp: Run new testcases.

These look fine to me; go ahead and commit.

-- 
Daniel Jacobowitz
CodeSourcery

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-19 18:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-19 18:33 Test suite results for mipsel-unknown-linux-gnu (2.16.93) Martin Michlmayr
2006-05-19 21:21 ` Thiemo Seufer
2006-05-20  3:00   ` Daniel Jacobowitz
2006-05-19 21:22 ` Thiemo Seufer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).