From d02f2788c34418483927d16db7e98a8a18fd508e Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 11 Jan 2022 15:43:34 +0100 Subject: [PATCH] gas/doc: mention quoted symbol names --- gas/doc/as.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2