public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au>
To: binutils@sources.redhat.com
Subject: gas testsuite tweaks
Date: Wed, 10 Nov 2004 04:29:00 -0000	[thread overview]
Message-ID: <20041110042916.GA21370@bubble.modra.org> (raw)

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

             reply	other threads:[~2004-11-10  4:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-10  4:29 Alan Modra [this message]
2013-01-14 13:10 Alan Modra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041110042916.GA21370@bubble.modra.org \
    --to=amodra@bigpond.net.au \
    --cc=binutils@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).