This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Document that most directives are case insensitive

Ciro Santilli <> writes:

> I saw a `.SECTION` directive written in uppercase, and I was in doubt
> if it should work.
> After reading `read.c`, I think this is the case, because of the
> set for metag.
> ---
>  gas/doc/as.texinfo | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
> index 6694b23..7770912 100644
> --- a/gas/doc/as.texinfo
> +++ b/gas/doc/as.texinfo
> @@ -4205,7 +4205,8 @@ address; you can only have a defined section in
> one of the two arguments.
>  @cindex pseudo-ops, machine independent
>  @cindex machine independent directives
>  All assembler directives have names that begin with a period (@samp{.}).
> -The rest of the name is letters, usually in lower case.
> +The rest of the name is made of letters.

They can also contain digits and underscores.  Basically they follow the
syntax of identifiers.


Andreas Schwab, SUSE Labs,
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]