This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Document that most directives are case insensitive
- From: Ciro Santilli <ciro dot santilli at gmail dot com>
- To: binutils at sourceware dot org
- Date: Tue, 23 Jun 2015 10:23:16 +0200
- Subject: [PATCH] Document that most directives are case insensitive
- Authentication-results: sourceware.org; auth=none
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. The names are case insensitive
+for most architectures, and usually written in lower case.
This chapter discusses directives that are available regardless of the
target machine configuration for the @sc{gnu} assembler.
--
1.9.1