This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Fix regexps in PR19910 test to cope with COFF and AOUT sparc targets.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 8 Apr 2016 09:37:29 -0000
- Subject: [binutils-gdb] Fix regexps in PR19910 test to cope with COFF and AOUT sparc targets.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=992dc2c47069220ce5a94829a8d8fed3ee72a1d0
commit 992dc2c47069220ce5a94829a8d8fed3ee72a1d0
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Apr 8 10:36:49 2016 +0100
Fix regexps in PR19910 test to cope with COFF and AOUT sparc targets.
PR target/19910
* testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
COFF and AOUT sparc targets.
Diff:
---
gas/ChangeLog | 6 ++++++
gas/testsuite/gas/sparc/pr19910-1.d | 7 ++++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 342768f..109f3e8 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2016-04-08 Nick Clifton <nickc@redhat.com>
+
+ PR target/19910
+ * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
+ COFF and AOUT sparc targets.
+
2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
* config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
diff --git a/gas/testsuite/gas/sparc/pr19910-1.d b/gas/testsuite/gas/sparc/pr19910-1.d
index 10874e9..ae39c4d 100644
--- a/gas/testsuite/gas/sparc/pr19910-1.d
+++ b/gas/testsuite/gas/sparc/pr19910-1.d
@@ -5,6 +5,7 @@
.*: +file format .*
Disassembly of section .text:
-0x0+000 sethi[ ]+%hi\(0x4000\), %g1
-0x0+004 mov[ ]+0x40, %g1
-0x0+008 mov[ ]+4, %g1
+[0x]+000.*sethi[ ]+%hi\(0x4000\), %g1
+[0x]+004.*mov[ ]+0x40, %g1
+[0x]+008.*mov[ ]+4, %g1
+#pass