From: Jan Beulich Date: Tue, 11 Jan 2022 14:43:34 +0000 (+0100) Subject: gas/doc: mention quoted symbol names X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d02f2788c34418483927d16db7e98a8a18fd508e;p=binutils-gdb.git gas/doc: mention quoted symbol names --- diff --git a/gas/doc/as.texi b/gas/doc/as.texi index 037c1820410..1a13b5dda42 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