Yet another fill-1 test fix
authorAlan Modra <amodra@gmail.com>
Wed, 25 Oct 2017 05:01:58 +0000 (15:31 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 25 Oct 2017 05:01:58 +0000 (15:31 +1030)
tic4x fails due to being a 4 octets per byte target, while tic54x is 2
octets per byte.

mmix still fails with
fill-1.s:4: Error: unknown pseudo-op: `.l1:'
fill-1.s:6: Error: unknown pseudo-op: `.l2:'
fill-1.s:3: Error: .space specifies non-absolute value

and if the labels are changed to L1 and L2 then mep-elf fails with
fill-1.s:3: Error: .space specifies non-absolute value

Since both of those look like they ought to be investigated by the
target maintainers, I'm tweaking the test to fail on both targets.

* testsuite/gas/all/fill-1.d: Exclude tic4x and tic54x.
* testsuite/gas/all/fill-1.s: Use L1 rather than .L1.

gas/ChangeLog
gas/testsuite/gas/all/fill-1.d
gas/testsuite/gas/all/fill-1.s

index 833e41c0a6eeed5ddd92a625c07a2e41f20944ec..4d7dcce6a57e68d9249a7eac75f66e6ab33431dd 100644 (file)
@@ -1,19 +1,24 @@
+2017-10-25  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/all/fill-1.d: Exclude tic4x and tic54x.
+       * testsuite/gas/all/fill-1.s: Use L1 rather than .L1.
+
 2017-10-24  Andrew Waterman  <andrew@sifive.com>
 
        * testsuite/gas/riscv/c-addi16sp-fail.d: New test.
-       testsuite/gas/riscv/c-addi16sp-fail.l: Likewise.
-       testsuite/gas/riscv/c-addi16sp-fail.s: Likewise.
-       testsuite/gas/riscv/c-addi4spn-fail.d: Likewise.
-       testsuite/gas/riscv/c-addi4spn-fail.l: Likewise.
-       testsuite/gas/riscv/c-addi4spn-fail.s: Likewise.
-       testsuite/gas/riscv/riscv.exp: Add new tests.
+       testsuite/gas/riscv/c-addi16sp-fail.l: Likewise.
+       testsuite/gas/riscv/c-addi16sp-fail.s: Likewise.
+       testsuite/gas/riscv/c-addi4spn-fail.d: Likewise.
+       testsuite/gas/riscv/c-addi4spn-fail.l: Likewise.
+       testsuite/gas/riscv/c-addi4spn-fail.s: Likewise.
+       testsuite/gas/riscv/riscv.exp: Add new tests.
 
 2017-10-24  Andrew Waterman  <andrew@sifive.com>
 
        * testsuite/gas/riscv/c-lui-fail.d: New testcase.
-       gas/testsuite/gas/riscv/c-lui-fail.l: Likewise.
-       gas/testsuite/gas/riscv/c-lui-fail.s: Likewise.
-       gas/testsuite/gas/riscv/riscv.exp: Likewise.
+       gas/testsuite/gas/riscv/c-lui-fail.l: Likewise.
+       gas/testsuite/gas/riscv/c-lui-fail.s: Likewise.
+       gas/testsuite/gas/riscv/riscv.exp: Likewise.
 
 2017-10-24  H.J. Lu  <hongjiu.lu@intel.com>
 
index da5933e542168c2c5ae21b5a24115bcfb1ad8082..861eb0de2e3413b3ca62ee84ae9f230bdf0c9d08 100644 (file)
@@ -1,5 +1,6 @@
 #objdump: -s -j .data -j "\$DATA\$"
 #name: fill test with forward labels
+#not-target: tic4x-*-* tic54x-*-*
 
 .*: +file format .*
 
index 34c52ccbd78a123e106e6b061b239be4d11da24d..d3048129a7e93ef2ee7576cc74cad8df99efda92 100644 (file)
@@ -1,7 +1,7 @@
        .data
        .dc.w 0x0a0a
-       .fill (.L2-.L1), 1, 0x0d
-.L1:
+       .fill (.L2-L1), 1, 0x0d
+L1:
        .dc.w 0x0b0b
 .L2:
        .dc.w 0x0c0c