From 992dc2c47069220ce5a94829a8d8fed3ee72a1d0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 8 Apr 2016 10:36:49 +0100 Subject: [PATCH] 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. --- 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 342768f5c9b..109f3e80061 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2016-04-08 Nick Clifton + + PR target/19910 + * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with + COFF and AOUT sparc targets. + 2016-04-07 Andrew Burgess * 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 10874e9b560..ae39c4da5b4 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 -- 2.30.2