public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gas/doc: mention quoted symbol names
@ 2022-01-04  9:07 Jan Beulich
  2022-01-11 14:25 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2022-01-04  9:07 UTC (permalink / raw)
  To: Binutils

--- a/gas/doc/as.texi
+++ b/gas/doc/as.texi
@@ -3856,7 +3856,10 @@ Symbol names begin with a letter or with
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gas/doc: mention quoted symbol names
  2022-01-04  9:07 [PATCH] gas/doc: mention quoted symbol names Jan Beulich
@ 2022-01-11 14:25 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2022-01-11 14:25 UTC (permalink / raw)
  To: Jan Beulich, Binutils

Hi Jan,

> --- a/gas/doc/as.texi
> +++ b/gas/doc/as.texi
> @@ -3856,7 +3856,10 @@ Symbol names begin with a letter or with
>   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
> 

Approved - please apply.

Cheers
   Nick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-11 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-04  9:07 [PATCH] gas/doc: mention quoted symbol names Jan Beulich
2022-01-11 14:25 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).