Fix regexps in PR19910 test to cope with COFF and AOUT sparc targets.
authorNick Clifton <nickc@redhat.com>
Fri, 8 Apr 2016 09:36:49 +0000 (10:36 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 8 Apr 2016 09:36:49 +0000 (10:36 +0100)
PR target/19910
* testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
COFF and AOUT sparc targets.

gas/ChangeLog
gas/testsuite/gas/sparc/pr19910-1.d

index 342768f5c9bf978b64d3dac91c0fc70a08e60c2b..109f3e8006111cfa972deec39a8040ede2fa5940 100644 (file)
@@ -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.
index 10874e9b560c3abf3658c02e77b91608d301a863..ae39c4da5b47be2ba095e7c2ed4302f56e726dd4 100644 (file)
@@ -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