aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-02-09 12:12:42 +0000
committerNathan Sidwell <nathan@codesourcery.com>2004-02-09 12:12:42 +0000
commita8a3b3b21c1b0195b059191a55cc8c8a7703d858 (patch)
treee4992c203bb9a3924097e036c9ab086a4cee9285 /gas
parentd2dc51dbff4bd6804d6f35f335a9dc0ae0a93253 (diff)
downloadgdb-a8a3b3b21c1b0195b059191a55cc8c8a7703d858.zip
gdb-a8a3b3b21c1b0195b059191a55cc8c8a7703d858.tar.gz
gdb-a8a3b3b21c1b0195b059191a55cc8c8a7703d858.tar.bz2
* read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
(TC_CASE_SENSITIVE): ... this. * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE. * doc/internals.texi (TC_CASE_SENSITIVE): Document.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/doc/internals.texi5
-rw-r--r--gas/read.c4
-rw-r--r--gas/read.h3
4 files changed, 15 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index fa62220..9a41fb0 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2004-02-09 Nathan Sidwell <nathan@codesourcery.com>
+
+ * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
+ (TC_CASE_SENSITIVE): ... this.
+ * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
+ * doc/internals.texi (TC_CASE_SENSITIVE): Document.
+
2004-02-06 James E Wilson <wilson@specifixinc.com>
* config/tc-ia64.c (dot_endp): Delete call to output_endp.
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi
index c62f829..6719bbf 100644
--- a/gas/doc/internals.texi
+++ b/gas/doc/internals.texi
@@ -1033,6 +1033,11 @@ arguments, the character before the @kbd{=} character, and the value of
If you define this macro, it should return nonzero if the current input line
pointer should be treated as the end of a line.
+@item TC_CASE_SENSITIVE
+@cindex TC_CASE_SENSITIVE
+Define this macro if instruction mnemonics and pseudos are case sensitive.
+The default is to have it undefined giving case insensitive names.
+
@item md_parse_name
@cindex md_parse_name
If this macro is defined, GAS will call it for any symbol found in an
diff --git a/gas/read.c b/gas/read.c
index b8bc536..82c0434 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -155,7 +155,7 @@ char is_end_of_line[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 /* */
};
-#ifdef IGNORE_OPCODE_CASE
+#ifndef TC_CASE_SENSITIVE
char original_case_string[128];
#endif
@@ -720,7 +720,7 @@ read_a_source_file (char *name)
/* Expect pseudo-op or machine instruction. */
pop = NULL;
-#ifdef IGNORE_OPCODE_CASE
+#ifndef TC_CASE_SENSITIVE
{
char *s2 = s;
diff --git a/gas/read.h b/gas/read.h
index 2357cf9..b89ffcb 100644
--- a/gas/read.h
+++ b/gas/read.h
@@ -90,8 +90,7 @@ enum linkonce_type {
LINKONCE_SAME_CONTENTS
};
-#define IGNORE_OPCODE_CASE
-#ifdef IGNORE_OPCODE_CASE
+#ifndef TC_CASE_SENSITIVE
extern char original_case_string[];
#endif