summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/all/gas.exp
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-11-17 15:45:01 +0000
committerNick Clifton <nickc@redhat.com>2020-11-17 15:45:01 +0000
commit3d955acb36f483c05724181da5ffba46b1303c43 (patch)
tree995b5e0ade78938225f697971674875ebc114858 /gas/testsuite/gas/all/gas.exp
parent811bdca093965e857e4f4473fbf336da2a93518a (diff)
downloadbinutils-gdb-3d955acb36f483c05724181da5ffba46b1303c43.tar.gz
When reading string arguments for the assembler's string directives treat space separated strings as a single entity.
* read.c (stringer): Treat space separated, quote enclosed strings as a single string. * doc/as.texi (asciz): Mention this behaviour in the description of the asciz directive. * testsuite/gas/all/asciz.s: New test. * testsuite/gas/all/asciz.d: New test driver. * testsuite/gas/all/gas.exp: Run the new test.
Diffstat (limited to 'gas/testsuite/gas/all/gas.exp')
-rw-r--r--gas/testsuite/gas/all/gas.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index af9cb61e3f8..47515bf769e 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -473,3 +473,4 @@ run_dump_test "fill-1"
gas_test "pr23938.s" "" "" ".xstabs"
run_dump_test "nop"
+run_dump_test "asciz"