From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9231 invoked by alias); 10 Nov 2004 04:29:25 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 8847 invoked from network); 10 Nov 2004 04:29:19 -0000 Received: from unknown (HELO gizmo01bw.bigpond.com) (144.140.70.11) by sourceware.org with SMTP; 10 Nov 2004 04:29:19 -0000 Received: (qmail 10009 invoked from network); 10 Nov 2004 04:29:17 -0000 Received: from unknown (HELO bwmam12.bigpond.com) (144.135.24.103) by gizmo01bw.bigpond.com with SMTP; 10 Nov 2004 04:29:17 -0000 Received: from cpe-144-136-221-26.sa.bigpond.net.au ([144.136.221.26]) by bwmam12.bigpond.com(MAM REL_3_4_2a 189/2058308) with SMTP id 2058308; Wed, 10 Nov 2004 14:29:17 +1000 Received: by bubble.modra.org (Postfix, from userid 500) id CC41612D078; Wed, 10 Nov 2004 14:59:16 +1030 Date: Wed, 10 Nov 2004 04:29:00 -0000 From: Alan Modra To: binutils@sources.redhat.com Subject: gas testsuite tweaks Message-ID: <20041110042916.GA21370@bubble.modra.org> Mail-Followup-To: binutils@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-11/txt/msg00174.txt.bz2 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