Allow individual targets to decide if string escapes should be allowed. Disable...
authorSergey Belyashov <sergey.belyashov@gmail.com>
Fri, 3 Jan 2020 16:23:19 +0000 (16:23 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 3 Jan 2020 16:23:19 +0000 (16:23 +0000)
commit16d87673993dc1dba10cd86996a9b016af38da12
tree85dbb6aba85b82d6847e3092d95e4f4fb3e281d6
parentf2a3559d54602cecfec6d90f792be4a70ad918ab
Allow individual targets to decide if string escapes should be allowed.  Disable for PPC and Z80.

PR 25311
* as.h (TC_STRING_ESCAPES): Provide a default definition.
* app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
NO_STRING_ESCAPES.
* read.c (next_char_of_string): Likewise.
* config/tc-ppc.h (TC_STRING_ESCAPES): Define.
* config/tc-z80.h (TC_STRING_ESCAPES): Define.
gas/ChangeLog
gas/app.c
gas/as.h
gas/config/tc-ppc.h
gas/config/tc-z80.h
gas/read.c
gas/testsuite/gas/z80/strings.d