[PATCH] Testsuite fixes for GAS
Andreas Schwab
schwab@suse.de
Sat Jan 8 20:41:00 GMT 2005
Depending on the definition of SKIP_ZEROES in objdump, which depends on
the enabled targets, trailing zeroes in a section may or may not be
disassembled. For some targets SKIP_ZEROES is much larger than the
default. This patch fixes PR646.
Andreas.
2005-01-08 Andreas Schwab <schwab@suse.de>
* gas/i386/intel16.d: Ignore trailing text with #pass.
* gas/i386/intelok.d: Likewise.
* gas/i386/prefix.d: Likewise.
* gas/i386/sub.d: Likewise.
* gas/i386/padlock.d: Likewise.
* gas/i386/x86_64.d: Likewise.
Index: gas/testsuite/gas/i386/intel16.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/intel16.d,v
retrieving revision 1.1
diff -u -a -p -r1.1 intel16.d
--- gas/testsuite/gas/i386/intel16.d 8 Jul 2002 10:40:37 -0000 1.1
+++ gas/testsuite/gas/i386/intel16.d 8 Jan 2005 20:22:32 -0000
@@ -12,4 +12,4 @@ Disassembly of section .text:
11: 66 0f b7 06 00 00 [ ]*movzwl 0,%eax
17: 66 0f b6 06 00 00 [ ]*movzbl 0,%eax
1d: 0f b6 06 00 00 [ ]*movzbw 0,%ax
- ...
+#pass
Index: gas/testsuite/gas/i386/intelok.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/intelok.d,v
retrieving revision 1.2
diff -u -a -p -r1.2 intelok.d
--- gas/testsuite/gas/i386/intelok.d 10 Nov 2004 04:29:55 -0000 1.2
+++ gas/testsuite/gas/i386/intelok.d 8 Jan 2005 20:22:32 -0000
@@ -103,4 +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
- \.\.\.
+#pass
Index: gas/testsuite/gas/i386/padlock.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/padlock.d,v
retrieving revision 1.3
diff -u -a -p -r1.3 padlock.d
--- gas/testsuite/gas/i386/padlock.d 30 Jul 2004 12:36:36 -0000 1.3
+++ gas/testsuite/gas/i386/padlock.d 8 Jan 2005 20:22:33 -0000
@@ -24,4 +24,4 @@ Disassembly of section .text:
3a:[ ]*f3 0f a6 c8 [ ]*repz xsha1
3e:[ ]*f3 0f a6 d0 [ ]*repz xsha256
42:[ ]*f3 0f a6 d0 [ ]*repz xsha256
-[ ]*\.\.\.
+#pass
Index: gas/testsuite/gas/i386/prefix.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/prefix.d,v
retrieving revision 1.3
diff -u -a -p -r1.3 prefix.d
--- gas/testsuite/gas/i386/prefix.d 9 Aug 1999 04:41:00 -0000 1.3
+++ gas/testsuite/gas/i386/prefix.d 8 Jan 2005 20:22:33 -0000
@@ -12,4 +12,4 @@ Disassembly of section .text:
b: 9b df e0 [ ]*fstsw %ax
e: 9b 67 df e0 [ ]*addr16 fstsw %ax
12: f3 67 66 36 a7 [ ]*repz addr16 cmpsw %es:\(%di\),%ss:\(%si\)
- ...
+#pass
Index: gas/testsuite/gas/i386/sub.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/sub.d,v
retrieving revision 1.2
diff -u -a -p -r1.2 sub.d
--- gas/testsuite/gas/i386/sub.d 17 Jun 2003 11:46:34 -0000 1.2
+++ gas/testsuite/gas/i386/sub.d 8 Jan 2005 20:22:33 -0000
@@ -7,4 +7,4 @@ Disassembly of section .text:
0+000 <foo>:
0: 66 be (0|1)(0|2|4) 00[ ]+mov[ ]+\$0x(1)?(0|2|4),%si[ ]+2:[ ]+(R_386_PC|DISP)16[ ]+.data(\+0xfffffff0)?
-.*
+#pass
Index: gas/testsuite/gas/i386/x86_64.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/x86_64.d,v
retrieving revision 1.4
diff -u -a -p -r1.4 x86_64.d
--- gas/testsuite/gas/i386/x86_64.d 4 Nov 2004 09:16:06 -0000 1.4
+++ gas/testsuite/gas/i386/x86_64.d 8 Jan 2005 20:22:33 -0000
@@ -121,4 +121,4 @@ Disassembly of section .text:
1f0: 8b 04 25 00 00 00 00 mov[ ]+0x0,%eax
1f7: 8b 80 00 00 00 00[ ]+mov[ ]+0x0\(%rax\),%eax
1fd: 8b 05 00 00 00 00[ ]+mov[ ]+0\(%rip\),%eax.*
- ...
+#pass
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list