public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* gas testsuite tweaks
@ 2004-11-10  4:29 Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2004-11-10  4:29 UTC (permalink / raw)
  To: binutils

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

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

* gas testsuite tweaks
@ 2013-01-14 13:10 Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2013-01-14 13:10 UTC (permalink / raw)
  To: binutils

Fixes a couple of testsuite failures.

	* gas/v850/basic.exp (reloc part 1): Pass -mgcc-abi to gas.
	* gas/v850/split-lo16.d: Likewise.

Index: gas/testsuite/gas/v850/basic.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/v850/basic.exp,v
retrieving revision 1.8
diff -u -p -r1.8 basic.exp
--- gas/testsuite/gas/v850/basic.exp	2 Sep 2009 07:24:26 -0000	1.8
+++ gas/testsuite/gas/v850/basic.exp	14 Jan 2013 06:22:09 -0000
@@ -381,7 +381,7 @@ proc do_simple_reloc_tests {} {
     set testname "reloc.s: Test for proper relocations (part 2)"
     set x 0
 
-    if [gas_test_old "reloc.s" "" "Test for proper relocation (part 1)"] then {
+    if [gas_test_old "reloc.s" "-mgcc-abi" "Test for proper relocation (part 1)"] then {
 	objdump_start_no_subdir "a.out" "-r"
 
 	while 1 {
Index: gas/testsuite/gas/v850/split-lo16.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/v850/split-lo16.d,v
retrieving revision 1.3
diff -u -p -r1.3 split-lo16.d
--- gas/testsuite/gas/v850/split-lo16.d	23 Jul 2010 14:52:51 -0000	1.3
+++ gas/testsuite/gas/v850/split-lo16.d	14 Jan 2013 06:22:09 -0000
@@ -1,6 +1,6 @@
 #objdump: -dr
 #name: V850E split LO16 tests
-#as: -mv850e
+#as: -mv850e -mgcc-abi
 #...
 00000000 <.*>:
    0:	40 0e 00 00 	movhi	0, r0, r1

-- 
Alan Modra
Australia Development Lab, IBM

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

end of thread, other threads:[~2013-01-14 13:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-10  4:29 gas testsuite tweaks Alan Modra
2013-01-14 13:10 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).