aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-01-11 15:43:34 +0100
committerJan Beulich <jbeulich@suse.com>2022-01-11 15:43:34 +0100
commitd02f2788c34418483927d16db7e98a8a18fd508e (patch)
treec82d6943deeaf1a8fae655099062cd56ee32a38e /gas
parent9ed5be5650ba7c315cd7cfacccc9208de2f555df (diff)
downloadgdb-d02f2788c34418483927d16db7e98a8a18fd508e.zip
gdb-d02f2788c34418483927d16db7e98a8a18fd508e.tar.gz
gdb-d02f2788c34418483927d16db7e98a8a18fd508e.tar.bz2
gas/doc: mention quoted symbol names
Diffstat (limited to 'gas')
-rw-r--r--gas/doc/as.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/doc/as.texi b/gas/doc/as.texi
index 037c182..1a13b5d 100644
--- a/gas/doc/as.texi
+++ b/gas/doc/as.texi
@@ -3856,7 +3856,10 @@ Symbol names begin with a letter or with one of @samp{._}. On most
machines, you can also use @code{$} in symbol names; exceptions are
noted in @ref{Machine Dependencies}. That character may be followed by any
string of digits, letters, dollar signs (unless otherwise noted for a
-particular target machine), and underscores.
+particular target machine), and underscores. These restrictions do not
+apply when quoting symbol names by @samp{"}, which is permitted for most
+targets. Escaping characters in quoted symbol names with @samp{\} generally
+extends only to @samp{\} itself and @samp{"}, at the time of writing.
@end ifclear
@ifset SPECIAL-SYMS
@ifset H8