This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gas testsuite tweaks


Fixes failures on x86 aout and coff targets.

	* gas/i386/opcode.s: Pad section.
	* gas/i386/intelok.s: Likewise.
	* gas/i386/opcode.d: Update.
	* gas/i386/intelok.d: Update.

Index: gas/testsuite/gas/i386/intelok.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/intelok.d,v
retrieving revision 1.1
diff -u -p -r1.1 intelok.d
--- gas/testsuite/gas/i386/intelok.d	4 Nov 2004 09:16:05 -0000	1.1
+++ gas/testsuite/gas/i386/intelok.d	10 Nov 2004 04:27:48 -0000
@@ -103,3 +103,4 @@ Disassembly of section .text:
 [ 	]*[0-9a-f]+:	6a 02[ 	]+push[ 	]+0x2
 [ 	]*[0-9a-f]+:	6a 03[ 	]+push[ 	]+0x3
 [ 	]*[0-9a-f]+:	6a 0d[ 	]+push[ 	]+0xd
+	\.\.\.
Index: gas/testsuite/gas/i386/intelok.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/intelok.s,v
retrieving revision 1.1
diff -u -p -r1.1 intelok.s
--- gas/testsuite/gas/i386/intelok.s	4 Nov 2004 09:16:05 -0000	1.1
+++ gas/testsuite/gas/i386/intelok.s	10 Nov 2004 04:27:48 -0000
@@ -103,3 +103,6 @@ start:
 	push	6 and 3
 	push	7 xor 4
 	push	8 or 5
+
+	# Force a good alignment.
+	.p2align	4,0
Index: gas/testsuite/gas/i386/opcode.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/opcode.d,v
retrieving revision 1.4
diff -u -p -r1.4 opcode.d
--- gas/testsuite/gas/i386/opcode.d	4 Nov 2004 09:16:05 -0000	1.4
+++ gas/testsuite/gas/i386/opcode.d	10 Nov 2004 04:27:48 -0000
@@ -572,3 +572,4 @@ Disassembly of section .text:
  9b7:	66 0f bd 90 90 90 90 90 [ 	]*bsr    0x90909090\(%eax\),%dx
  9bf:	66 0f be 90 90 90 90 90 [ 	]*movsbw 0x90909090\(%eax\),%dx
  9c7:	66 0f c1 90 90 90 90 90 [ 	]*xadd   %dx,0x90909090\(%eax\)
+	\.\.\.
Index: gas/testsuite/gas/i386/opcode.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/opcode.s,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 opcode.s
--- gas/testsuite/gas/i386/opcode.s	3 May 1999 07:28:50 -0000	1.1.1.1
+++ gas/testsuite/gas/i386/opcode.s	10 Nov 2004 04:27:48 -0000
@@ -565,3 +565,6 @@ foo:
  bsr    0x90909090(%eax),%dx
  movsbw 0x90909090(%eax),%dx
  xadd   %dx,0x90909090(%eax)
+
+# Force a good alignment.
+ .p2align 4,0

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]