This fixes various issues with the fill-1 testcase causing fails on a
couple of targets.
gas/ChangeLog:
2017-10-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* testsuite/gas/all/fill-1.s: Use normal labels. Change .text to
.data. Pick different values. Use .dc.w instead of .word.
* testsuite/gas/all/fill-1.d: New objdump output check.
* testsuite/gas/all/gas.exp: Use run_dump_test to execute fill-1
testcase.
+2017-10-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
+ * testsuite/gas/all/fill-1.s: Use normal labels. Change .text to
+ .data. Pick different values. Use .dc.w instead of .word.
+ * testsuite/gas/all/fill-1.d: New objdump output check.
+ * testsuite/gas/all/gas.exp: Use run_dump_test to execute fill-1
+ testcase.
+
2017-10-18 Palmer Dabbelt <palmer@dabbelt.com>
* testsuite/gas/all/align.d: Mark as unsupported on RISC-V.
--- /dev/null
+#objdump: -s -j .data -j "\$DATA\$"
+#name: fill test with forward labels
+
+.*: +file format .*
+
+Contents of section (\.data|\$DATA\$):
+ [^ ]* 0a0a0d0d 0b0b0c0c .*
- .text
- .fill (2f-1f), 1, 0x90
-1:
- .word 42
-2:
+ .data
+ .dc.w 0x0a0a
+ .fill (.L2-.L1), 1, 0x0d
+.L1:
+ .dc.w 0x0b0b
+.L2:
+ .dc.w 0x0c0c
run_dump_test "org-5"
run_dump_test "org-6"
-gas_test "fill-1.s" "" "" "test .fill forward label references"
+run_dump_test "fill-1"