aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-08-20 18:16:34 +0930
committerAlan Modra <amodra@gmail.com>2018-08-21 14:59:53 +0930
commit08a8fe2ffd9766877a74a52922b4391d37e85491 (patch)
treeeaf297697ec9cfa61c48d3564d8c009643d1b476 /gas
parentfe22d84fe472a5a1f19c56cf0f888c86a635dee7 (diff)
downloadbinutils-08a8fe2ffd9766877a74a52922b4391d37e85491.zip
binutils-08a8fe2ffd9766877a74a52922b4391d37e85491.tar.gz
binutils-08a8fe2ffd9766877a74a52922b4391d37e85491.tar.bz2
Fix s12z test regexps
Fixes ERROR: tcl error sourcing .../gas/testsuite/gas/s12z/s12z.exp. ERROR: couldn't compile regular expression pattern: quantifier operand invalid run_dump_test expected output lines are regexps. * testsuite/gas/s12z/bit-manip-invalid.d: Correct regexps.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/testsuite/gas/s12z/bit-manip-invalid.d10
2 files changed, 10 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1ad770d..031fb42 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,4 +1,8 @@
-2018-07-28 John Darrington <john@darrington.wattle.id.au>
+2018-08-21 Alan Modra <amodra@gmail.com>
+
+ * testsuite/gas/s12z/bit-manip-invalid.d: Correct regexps.
+
+2018-08-18 John Darrington <john@darrington.wattle.id.au>
* testsuite/gas/s12z/bit-manip-invalid.d: New file.
* testsuite/gas/s12z/bit-manip-invalid.s: New file.
diff --git a/gas/testsuite/gas/s12z/bit-manip-invalid.d b/gas/testsuite/gas/s12z/bit-manip-invalid.d
index 0cfcfe4..571f435 100644
--- a/gas/testsuite/gas/s12z/bit-manip-invalid.d
+++ b/gas/testsuite/gas/s12z/bit-manip-invalid.d
@@ -3,17 +3,17 @@
#source: bit-manip-invalid.s
-dump.o: file format elf32-s12z
+.*: file format elf32-s12z
-Disassembly of section .text:
+Disassembly of section \.text:
-00000000 <.text>:
+00000000 <\.text>:
0: 01 nop
- 1: 03 a5 10 04 brset.w 4100, d4, *+6
+ 1: 03 a5 10 04 brset\.w 4100, d4, \*\+6
5: 06
6: 01 nop
7: 01 nop
- 8: 03 65 12 brset d1, #4, *+18
+ 8: 03 65 12 brset d1, #4, \*\+18
b: 01 nop
c: 01 nop