Fix s12z test regexps
authorAlan Modra <amodra@gmail.com>
Mon, 20 Aug 2018 08:46:34 +0000 (18:16 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 21 Aug 2018 05:29:53 +0000 (14:59 +0930)
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.

gas/ChangeLog
gas/testsuite/gas/s12z/bit-manip-invalid.d
include/ChangeLog
opcodes/ChangeLog

index 1ad770d26ddc11a144cef1cbbe6e30b01c693a45..031fb4290b05168cde5b9e1cd12485c1376f9133 100644 (file)
@@ -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.
index 0cfcfe4701868f3d834af465d785ad358844eae7..571f435cd0672fd861f3e9e5b9b793e5a738980e 100644 (file)
@@ -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
index ab3ff1fff1f7d07710d01375b9363dabaad003a1..37edc3898b313f6014ed6c733e18d596067dd678 100644 (file)
@@ -1,4 +1,4 @@
-2018-07-27  John Darrington  <john@darrington.wattle.id.au>
+2018-08-18  John Darrington  <john@darrington.wattle.id.au>
 
        * opcode/s12z.h: New file.
 
index 137e34c81b3831538d694768ca7c3bda75e1f53c..268e5b78d7324dff305c3f04e465fd6859729e6a 100644 (file)
@@ -2,14 +2,13 @@
 
        * sh-opc.h (MASK): Simplify.
 
-2018-07-28  John Darrington  <john@darrington.wattle.id.au>
+2018-08-18  John Darrington  <john@darrington.wattle.id.au>
 
        * s12z-dis.c (bm_decode): Deal with cases where the mode is
        BM_RESERVED0 or BM_RESERVED1
-       * s12z-dis.c (bm_rel_decode): ditto
-       * s12z-dis.c (bm_n_bytes): ditto
+       (bm_rel_decode, bm_n_bytes): Ditto.
 
-2018-07-28  John Darrington  <john@darrington.wattle.id.au>
+2018-08-18  John Darrington  <john@darrington.wattle.id.au>
 
        * s12z.h: Delete.