This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Document that most directives are case insensitive
- From: Andreas Schwab <schwab at suse dot de>
- To: Ciro Santilli <ciro dot santilli at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 23 Jun 2015 10:44:53 +0200
- Subject: Re: [PATCH] Document that most directives are case insensitive
- Authentication-results: sourceware.org; auth=none
- References: <CAFXrp_cNhUsAoAeP5ztQn74_+m9kaNZf=DRU8B4x6_ig1BGpSg at mail dot gmail dot com>
Ciro Santilli <ciro.santilli@gmail.com> 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
> TOLOWER inside `#ifned TC_CASE_SENSITIVE`. `TC_CASE_SENSITIVE` is only
> 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.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."