testsuite fixes

Alan Modra amodra@bigpond.net.au
Tue Mar 1 03:52:00 GMT 2005


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



More information about the Binutils mailing list