public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* testsuite fixes
@ 2005-03-01  3:52 Alan Modra
  0 siblings, 0 replies; 7+ messages in thread
From: Alan Modra @ 2005-03-01  3:52 UTC (permalink / raw)
  To: binutils

When built on a 64-bit host, we get 64-bit addresses printed on non-ELF
32-bit targets.  Which isn't nice, but I'm not sufficiently motivated to
fix this particular problem.  So hack the testsuite.

	* gas/m68k/mcf-emac.d: Allow for 64-bit addresses.
	* gas/m68k/mcf-mac.d: Likewise.
	* gas/m68k/mcf-mov3q.d: Likewise.
	* gas/m68k/mode5.d: Likewise.

Index: gas/testsuite/gas/m68k/mcf-emac.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mcf-emac.d,v
retrieving revision 1.2
diff -u -p -r1.2 mcf-emac.d
--- gas/testsuite/gas/m68k/mcf-emac.d	24 May 2004 14:33:19 -0000	1.2
+++ gas/testsuite/gas/m68k/mcf-emac.d	1 Mar 2005 03:03:19 -0000
@@ -6,7 +6,7 @@
 
 Disassembly of section .text:
 
-00000000 <.text>:
+0+ <.text>:
        0:	a241 0280      	macw %d1l,%a1u,<<,%acc0
        4:	a2d0 d281      	macw %d1l,%a5u,<<,%a0@,%a1,%acc0
        8:	a490 b2a5      	macw %d5l,%a3u,<<,%a0@&,%d2,%acc0
Index: gas/testsuite/gas/m68k/mcf-mac.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mcf-mac.d,v
retrieving revision 1.2
diff -u -p -r1.2 mcf-mac.d
--- gas/testsuite/gas/m68k/mcf-mac.d	24 May 2004 14:33:20 -0000	1.2
+++ gas/testsuite/gas/m68k/mcf-mac.d	1 Mar 2005 03:03:20 -0000
@@ -6,7 +6,7 @@
 
 Disassembly of section .text:
 
-00000000 <.text>:
+0+ <.text>:
        0:	a182           	movel %acc,%d2
        2:	a189           	movel %acc,%a1
        4:	a989           	movel %macsr,%a1
Index: gas/testsuite/gas/m68k/mcf-mov3q.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mcf-mov3q.d,v
retrieving revision 1.2
diff -u -p -r1.2 mcf-mov3q.d
--- gas/testsuite/gas/m68k/mcf-mov3q.d	5 Nov 2003 01:14:25 -0000	1.2
+++ gas/testsuite/gas/m68k/mcf-mov3q.d	1 Mar 2005 03:03:20 -0000
@@ -6,7 +6,7 @@
 
 Disassembly of section .text:
 
-00000000 <test_mov3q>:
+0+ <test_mov3q>:
    0:	a140           	mov3ql #-1,%d0
    2:	a349           	mov3ql #1,%a1
    4:	a552           	mov3ql #2,%a2@
Index: gas/testsuite/gas/m68k/mode5.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mode5.d,v
retrieving revision 1.2
diff -u -p -r1.2 mode5.d
--- gas/testsuite/gas/m68k/mode5.d	29 Jun 2004 14:43:55 -0000	1.2
+++ gas/testsuite/gas/m68k/mode5.d	1 Mar 2005 03:03:20 -0000
@@ -6,7 +6,7 @@
 
 Disassembly of section .text:
 
-00000000 <.text>:
+0+ <.text>:
    0:	2213           	movel %a3@,%d1
    2:	2882           	movel %d2,%a4@
    4:	2295           	movel %a5@,%a1@

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] 7+ messages in thread
* testsuite fixes
@ 2007-08-09 11:26 Alan Modra
  2007-08-09 11:43 ` Alan Modra
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Modra @ 2007-08-09 11:26 UTC (permalink / raw)
  To: binutils

i486-*-linuxaout fails these tests just like other aout targets.

binutils/testsuite/
	* binutils-all/copy-2.d (not-target): Match *-*-*aout.
	* binutils-all/copy-3.d (not-target): Likewise.
	* binutils-all/objcopy.exp (objcopy_test): Remove extraneous
	setup_xfail.
gas/testsuite/
	* gas/all/weakref1u.d (not-target): Match *-*-*aout.

Index: binutils/testsuite/binutils-all/copy-2.d
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/copy-2.d,v
retrieving revision 1.3
diff -u -p -r1.3 copy-2.d
--- binutils/testsuite/binutils-all/copy-2.d	2 May 2006 17:46:41 -0000	1.3
+++ binutils/testsuite/binutils-all/copy-2.d	9 Aug 2007 01:40:59 -0000
@@ -3,7 +3,7 @@
 #objcopy: --set-section-flags foo=contents,alloc,load,code
 #name: copy with setting section flags 2
 #source: copytest.s
-#not-target: *-*-aout
+#not-target: *-*-*aout
 # Note - we use copytest.s and a section named "foo" rather
 # than .text because for some file formats (eg PE) the .text
 # section has a fixed set of flags and these cannot be changed.
Index: binutils/testsuite/binutils-all/copy-3.d
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/copy-3.d,v
retrieving revision 1.4
diff -u -p -r1.4 copy-3.d
--- binutils/testsuite/binutils-all/copy-3.d	8 Jan 2007 17:21:49 -0000	1.4
+++ binutils/testsuite/binutils-all/copy-3.d	9 Aug 2007 01:40:59 -0000
@@ -3,7 +3,7 @@
 #objcopy: --set-section-flags .text=alloc,data
 #name: copy with setting section flags 3
 #source: bintest.s
-#not-target: *-*-aout *-*-*pe *-*-*coff i*86-*-cygwin* i*86-*-mingw32* x86_64-*-mingw*
+#not-target: *-*-*aout *-*-*pe *-*-*coff i*86-*-cygwin* i*86-*-mingw32* x86_64-*-mingw*
 # The .text # section in PE/COFF has a fixed set of flags and these
 # cannot be changed.  We skip it for them.
 
Index: binutils/testsuite/binutils-all/objcopy.exp
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/objcopy.exp,v
retrieving revision 1.46
diff -u -p -r1.46 objcopy.exp
--- binutils/testsuite/binutils-all/objcopy.exp	5 Jul 2007 16:54:45 -0000	1.46
+++ binutils/testsuite/binutils-all/objcopy.exp	9 Aug 2007 01:40:59 -0000
@@ -103,9 +103,6 @@ proc objcopy_test {testname srcfile} {
 	    # On OSF/1, this succeeds with gas and fails with /bin/as.
 	    setup_xfail "alpha*-*-osf*"
 
-	    # This fails for COFF i960-vxworks targets.
-	    setup_xfail "i960-*-vxworks*"
-
 	    fail "objcopy ($testname)"
 	}
     }
Index: gas/testsuite/gas/all/weakref1u.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/weakref1u.d,v
retrieving revision 1.3
diff -u -p -r1.3 weakref1u.d
--- gas/testsuite/gas/all/weakref1u.d	20 Nov 2005 22:03:25 -0000	1.3
+++ gas/testsuite/gas/all/weakref1u.d	9 Aug 2007 01:41:09 -0000
@@ -3,7 +3,7 @@
 #source: weakref1.s
 # aout turns undefined into *ABS* symbols.
 # see weakref1.d for comments on the other not-targets
-#not-target: *-*-aout ns32k-*-netbsd alpha*-*-osf* *-*-ecoff pdp11-*-aout
+#not-target: *-*-*aout ns32k-*-netbsd alpha*-*-osf* *-*-ecoff
 
 # the rest of this file is generated with the following script:
 # # script begin

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 7+ messages in thread
* testsuite fixes
@ 2004-06-29 14:43 Alan Modra
  2004-07-01 19:17 ` Jakub Jelinek
  2004-07-02  9:52 ` Kaz Kojima
  0 siblings, 2 replies; 7+ messages in thread
From: Alan Modra @ 2004-06-29 14:43 UTC (permalink / raw)
  To: binutils, Jakub Jelinek

Miscellaneous testsuite fixes.

	* gas/m68k/mode5.s: Pad section.
	* gas/m68k/mode5.d: Update.

	* ld-elf/frame.exp: Don't run on mcore.

I see an annoying number of testsuite failures, presumably the following
are all from Jakub's 2004-05-11 bfd patch to remove unneeded section
syms, or 2004-05-19 ld change which rearranged sections.  Jakub, you're
listed as sparc maintainer.  Please at least update the sparc testsuite
to suit your changes!

alpha-linux
+FAIL: TLS -fpic -shared
+FAIL: TLS -fpic and -fno-pic exec
+FAIL: TLS -fpic and -fno-pic exec -relax

cris-elf
+FAIL: ld-cris/libdso-1
+FAIL: ld-cris/libdso-2
+FAIL: ld-cris/expdyn1
+FAIL: ld-cris/expdyn5
+FAIL: ld-cris/expdyn6
+FAIL: ld-cris/expdyn7
+FAIL: ld-cris/gotplt2
+FAIL: ld-cris/gotplt3
+FAIL: ld-cris/locref1
+FAIL: ld-cris/nodyn4
+FAIL: ld-cris/nodyn5

sh-linux
+FAIL: ld-sh/shared-2

sh64-linux
+FAIL: read-only .eh_frame section
+FAIL: read-only .gcc_except_table section
+FAIL: ld-sh/shared-1
+FAIL: ld-sh/shared-2
+FAIL: ld-sh/sh64/gotplt
+FAIL: ld-sh/sh64/init-cmpct
+FAIL: ld-sh/sh64/init-media
+FAIL: ld-sh/sh64/init64
+FAIL: SH64 linking, 64-bit ABI
+FAIL: SH64 linking, 32-bit ABI
+FAIL: SH64 linking, single multi-ISA object
+FAIL: SH64 linking, two different-ISA objects
+FAIL: SH64 linking, single SHcompact
+FAIL: SH64 inter-file datalabel references, 64-bit ABI
+FAIL: SH64 inter-file datalabel references, 32-bit ABI
+FAIL: Handling SH64 assembler-generated .cranges
+FAIL: Mixing SH64 assembler-generated with linker-generated .cranges
+FAIL: Merge and use of SH64 .cranges, some not originally in order
+FAIL: Sorted SH64 .cranges, entry at SHcompact code
+FAIL: Sorted SH64 .cranges, entry at SHmedia code

sparc-linux and sparc64-linux
+FAIL: TLS -fpic -shared transitions
+FAIL: TLS -fpic and -fno-pic exec transitions
+FAIL: TLS -fno-pic -shared

Also, mips-linux has a number of failures reporting
"assertion fail /src/binutils-current/bfd/elfxx-mips.c:2041"


Index: gas/testsuite/gas/m68k/mode5.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mode5.d,v
retrieving revision 1.1
diff -u -p -r1.1 mode5.d
--- gas/testsuite/gas/m68k/mode5.d	28 May 2004 07:55:21 -0000	1.1
+++ gas/testsuite/gas/m68k/mode5.d	29 Jun 2004 12:51:56 -0000
@@ -10,3 +10,4 @@ Disassembly of section .text:
    0:	2213           	movel %a3@,%d1
    2:	2882           	movel %d2,%a4@
    4:	2295           	movel %a5@,%a1@
+	...
Index: gas/testsuite/gas/m68k/mode5.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68k/mode5.s,v
retrieving revision 1.1
diff -u -p -r1.1 mode5.s
--- gas/testsuite/gas/m68k/mode5.s	28 May 2004 07:55:21 -0000	1.1
+++ gas/testsuite/gas/m68k/mode5.s	29 Jun 2004 12:51:56 -0000
@@ -4,3 +4,4 @@
 	move.l 0(%a3),%d1
 	move.l %d2,0(%a4)
 	move.l 0(%a5),0(%a1)
+	.p2align 4
Index: ld/testsuite/ld-elf/frame.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/frame.exp,v
retrieving revision 1.2
diff -u -p -r1.2 frame.exp
--- ld/testsuite/ld-elf/frame.exp	21 Jun 2004 10:24:39 -0000	1.2
+++ ld/testsuite/ld-elf/frame.exp	29 Jun 2004 12:52:13 -0000
@@ -25,6 +25,11 @@ if ![is_elf_format] {
     return
 }
 
+# No shared lib support on this target.
+if { [istarget "mcore-*-*"] } {
+    return
+}
+
 set test1	"read-only .eh_frame section"
 set test2	"read-only .gcc_except_table section"
 

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

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

end of thread, other threads:[~2007-08-09 11:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-01  3:52 testsuite fixes Alan Modra
  -- strict thread matches above, loose matches on Subject: below --
2007-08-09 11:26 Alan Modra
2007-08-09 11:43 ` Alan Modra
2004-06-29 14:43 Alan Modra
2004-07-01 19:17 ` Jakub Jelinek
2004-07-02  9:52 ` Kaz Kojima
2004-07-02 10:16   ` Alan Modra

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).