aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-04-08 10:36:49 +0100
committerNick Clifton <nickc@redhat.com>2016-04-08 10:36:49 +0100
commit992dc2c47069220ce5a94829a8d8fed3ee72a1d0 (patch)
tree3b4f4cb6e9d770399e0f43a3a69bee47e5bdae2b
parent953dd97e56b6ded32449f6bee805019d0e59552f (diff)
downloadgdb-992dc2c47069220ce5a94829a8d8fed3ee72a1d0.zip
gdb-992dc2c47069220ce5a94829a8d8fed3ee72a1d0.tar.gz
gdb-992dc2c47069220ce5a94829a8d8fed3ee72a1d0.tar.bz2
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.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/testsuite/gas/sparc/pr19910-1.d7
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