* read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 9 Feb 2004 12:12:42 +0000 (12:12 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Mon, 9 Feb 2004 12:12:42 +0000 (12:12 +0000)
(TC_CASE_SENSITIVE): ... this.
* read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
* doc/internals.texi (TC_CASE_SENSITIVE): Document.

gas/ChangeLog
gas/doc/internals.texi
gas/read.c
gas/read.h

index fa6222088ca1da58ef1d67dfa563c850f70de790..9a41fb068b4a069d2a21b66ace9f75f3e06daf85 100644 (file)
@@ -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.
index c62f8298c384523eb5e40a35a1420e86ed2835d7..6719bbf945d35cca5dbc240c292852871d754886 100644 (file)
@@ -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
index b8bc536c79c991a92efc233643ebf44ba97ed23f..82c0434cbb46d91f500be3dba98325610deaf1dc 100644 (file)
@@ -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;
 
index 2357cf9c39b0fa60fd6c7c557c1193a675bf56c2..b89ffcb4fbfd786fc56f9a797789ffccdcf7ab04 100644 (file)
@@ -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
 
This page took 0.029766 seconds and 4 git commands to generate.