* as.c: Replace CONST with const.
authorAlan Modra <amodra@gmail.com>
Sat, 8 Jun 2002 07:37:16 +0000 (07:37 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 8 Jun 2002 07:37:16 +0000 (07:37 +0000)
* write.c: Likewise.
* config/obj-coff.c: Likewise.
* config/tc-a29k.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-dlx.c: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-h8500.c: Likewise.
* config/tc-i370.c: Likewise.
* config/tc-i860.c: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-mcore.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-pdp11.c: Likewise.
* config/tc-pj.c: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-tahoe.c: Likewise.
* config/tc-tic80.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.

29 files changed:
gas/ChangeLog
gas/as.c
gas/config/obj-coff.c
gas/config/tc-a29k.c
gas/config/tc-arm.c
gas/config/tc-dlx.c
gas/config/tc-h8300.c
gas/config/tc-h8500.c
gas/config/tc-i370.c
gas/config/tc-i860.c
gas/config/tc-i960.c
gas/config/tc-m68hc11.c
gas/config/tc-m68k.c
gas/config/tc-m88k.c
gas/config/tc-mcore.c
gas/config/tc-mips.c
gas/config/tc-ns32k.c
gas/config/tc-pdp11.c
gas/config/tc-pj.c
gas/config/tc-s390.c
gas/config/tc-sh.c
gas/config/tc-sparc.c
gas/config/tc-tahoe.c
gas/config/tc-tic80.c
gas/config/tc-v850.c
gas/config/tc-vax.c
gas/config/tc-w65.c
gas/config/tc-z8k.c
gas/write.c

index b026fcc3243514a6fdfef4d6ff42f9ceaf5385fe..f6136d29d150e36da8e4f91213eededeeda005c7 100644 (file)
@@ -1,3 +1,34 @@
+2002-06-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * as.c: Replace CONST with const.
+       * write.c: Likewise.
+       * config/obj-coff.c: Likewise.
+       * config/tc-a29k.c: Likewise.
+       * config/tc-arm.c: Likewise.
+       * config/tc-dlx.c: Likewise.
+       * config/tc-h8300.c: Likewise.
+       * config/tc-h8500.c: Likewise.
+       * config/tc-i370.c: Likewise.
+       * config/tc-i860.c: Likewise.
+       * config/tc-i960.c: Likewise.
+       * config/tc-m68hc11.c: Likewise.
+       * config/tc-m68k.c: Likewise.
+       * config/tc-m88k.c: Likewise.
+       * config/tc-mcore.c: Likewise.
+       * config/tc-mips.c: Likewise.
+       * config/tc-ns32k.c: Likewise.
+       * config/tc-pdp11.c: Likewise.
+       * config/tc-pj.c: Likewise.
+       * config/tc-s390.c: Likewise.
+       * config/tc-sh.c: Likewise.
+       * config/tc-sparc.c: Likewise.
+       * config/tc-tahoe.c: Likewise.
+       * config/tc-tic80.c: Likewise.
+       * config/tc-v850.c: Likewise.
+       * config/tc-vax.c: Likewise.
+       * config/tc-w65.c: Likewise.
+       * config/tc-z8k.c: Likewise.
+
 2002-06-08  Daniel Jacobowitz  <drow@mvista.com>
 
        Based on patch from Matt Green:
index 83fbf1a2eaf8f0c0cc38112f6daba36865210546..346ecc84c03749e1e1a8bc67b5fd1fdaae658820 100644 (file)
--- a/gas/as.c
+++ b/gas/as.c
@@ -350,7 +350,7 @@ parse_args (pargc, pargv)
      as if it were the argument of an option with character code 1.  */
 
   char *shortopts;
-  extern CONST char *md_shortopts;
+  extern const char *md_shortopts;
   static const char std_shortopts[] = {
     '-', 'J',
 #ifndef WORKING_DOT_WORD
index 30660d83466485081f626171e922ae5aef9ad834..eb592aa293f4fac72e6aaf0de03ac6bfc5d0272b 100644 (file)
@@ -271,7 +271,7 @@ fetch_coff_debug_section ()
   static segT debug_section;
   if (!debug_section)
     {
-      CONST asymbol *s;
+      const asymbol *s;
       s = bfd_make_debug_symbol (stdoutput, (char *) 0, 0);
       assert (s != 0);
       debug_section = s->section;
@@ -711,7 +711,7 @@ obj_coff_endef (ignore)
       /* intentional fallthrough */
     case C_FCN:
       {
-       CONST char *name;
+       const char *name;
        S_SET_SEGMENT (def_symbol_in_progress, text_section);
 
        name = S_GET_NAME (def_symbol_in_progress);
index 3100d2b58ac39cc116e843a39079143ec4424569..40e7c77c5058e4951b1e620c85ad8a1367f73408 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-a29k.c -- Assemble for the AMD 29000.
-   Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1998, 2000, 2001
+   Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1998, 2000, 2001, 2002
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -1038,7 +1038,7 @@ tc_aout_fix_to_chars (where, fixP, segment_address_in_file)
 
 #endif /* OBJ_AOUT */
 \f
-CONST char *md_shortopts = "";
+const char *md_shortopts = "";
 struct option md_longopts[] = {
   {NULL, no_argument, NULL, 0}
 };
index 39f1b65495ea29bc13ae72c5e4843ff20b423154..a6bbba1e0766ab082e3e07e4f20dca984741b829 100644 (file)
@@ -10546,7 +10546,7 @@ md_assemble (str)
 
       */
 
-CONST char * md_shortopts = "m:k";
+const char * md_shortopts = "m:k";
 
 #ifdef ARM_BI_ENDIAN
 #define OPTION_EB (OPTION_MD_BASE + 0)
index e95ab5bf7bca7950823b14c47d0fb55dbd5f3075..9722d0db96f6d259b0c590d471ea170c9b31b895 100644 (file)
@@ -1239,7 +1239,7 @@ md_apply_fix3 (fixP, valP, seg)
   return;
 }
 
-CONST char *md_shortopts = "";
+const char *md_shortopts = "";
 
 struct option md_longopts[] =
   {
index 4ac70de5d3f9c6bb07742da30e487dc90d5d3e21..641a7e54263966b6ac81206a817d31d49b2ca9f3 100644 (file)
@@ -1438,7 +1438,7 @@ md_atof (type, litP, sizeP)
   return 0;
 }
 \f
-CONST char *md_shortopts = "";
+const char *md_shortopts = "";
 struct option md_longopts[] = {
   {NULL, no_argument, NULL, 0}
 };
index 3157e0b5b4165954490628cd97d803d0db318bd1..002854df848e05bace079216dbd15a18773992c6 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-h8500.c -- Assemble code for the Hitachi H8/500
-   Copyright 1993, 1994, 1995, 1998, 2000, 2001
+   Copyright 1993, 1994, 1995, 1998, 2000, 2001, 2002
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -1199,7 +1199,7 @@ md_atof (type, litP, sizeP)
   return 0;
 }
 \f
-CONST char *md_shortopts = "";
+const char *md_shortopts = "";
 struct option md_longopts[] = {
   {NULL, no_argument, NULL, 0}
 };
index 87d8af8d829e570bc610ee2bc1e475c93ada6d52..784411d9d86891a2b74bc2e6e40a8dcd50b728a3 100644 (file)
@@ -1,6 +1,6 @@
 /* tc-i370.c -- Assembler for the IBM 360/370/390 instruction set.
    Loosely based on the ppc files by Linas Vepstas <linas@linas.org> 1998, 99
-   Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+   Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
    Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Cygnus Support.
 
@@ -430,9 +430,9 @@ const int md_long_jump_size = 4;
 #endif
 \f
 #ifdef OBJ_ELF
-CONST char *md_shortopts = "l:um:K:VQ:";
+const char *md_shortopts = "l:um:K:VQ:";
 #else
-CONST char *md_shortopts = "um:";
+const char *md_shortopts = "um:";
 #endif
 struct option md_longopts[] =
 {
@@ -1419,7 +1419,7 @@ add_to_lit_pool (expressionS *exx, char *name, int sz)
 static void
 symbol_locate (symbolP, name, segment, valu, frag)
      symbolS *symbolP;
-     CONST char *name;         /* It is copied, the caller can modify */
+     const char *name;         /* It is copied, the caller can modify */
      segT segment;             /* Segment identifier (SEG_<something>) */
      valueT valu;              /* Symbol value */
      fragS *frag;              /* Associated fragment */
index 9aa44574da9c1d8ed14558ad6bebd9416d88b93a..61724f5864ad6d7075114f339e58492a6a8f99d5 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-i860.c -- Assembler for the Intel i860 architecture.
-   Copyright 1989, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001
+   Copyright 1989, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001, 2002
    Free Software Foundation, Inc.
 
    Brought back from the dead and completely reworked
@@ -1013,9 +1013,9 @@ print_insn (insn)
 
 \f
 #ifdef OBJ_ELF
-CONST char *md_shortopts = "VQ:";
+const char *md_shortopts = "VQ:";
 #else
-CONST char *md_shortopts = "";
+const char *md_shortopts = "";
 #endif
 
 #define OPTION_EB              (OPTION_MD_BASE + 0)
index e16775ed7f52fe232e8c5c48a60a38e0b027ea9d..d238b9cef2d51a9ee6b6f823285da3e060fd23dd 100644 (file)
@@ -1,6 +1,6 @@
 /* tc-i960.c - All the i80960-specific stuff
    Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-   1999, 2000, 2001
+   1999, 2000, 2001, 2002
    Free Software Foundation, Inc.
 
    This file is part of GAS.
@@ -912,7 +912,7 @@ md_number_to_field (instrP, val, bfixP)
 
   ****************************************************************************/
 
-CONST char *md_shortopts = "A:b";
+const char *md_shortopts = "A:b";
 struct option md_longopts[] =
 {
 #define OPTION_LINKRELAX (OPTION_MD_BASE)
index d4358afffd29ad9a2cb1f056b089067fa09229bc..8f402691bf5cc072f15c91aaa4e7ba5d957362d0 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-m68hc11.c -- Assembler code for the Motorola 68HC11 & 68HC12.
-   Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    Written by Stephane Carrez (stcarrez@worldnet.fr)
 
    This file is part of GAS, the GNU Assembler.
@@ -255,7 +255,7 @@ const pseudo_typeS md_pseudo_table[] = {
 \f
 /* Options and initialization.  */
 
-CONST char *md_shortopts = "Sm:";
+const char *md_shortopts = "Sm:";
 
 struct option md_longopts[] = {
 #define OPTION_FORCE_LONG_BRANCH (OPTION_MD_BASE)
index 466a8d3e77bc34d94e0d4729cb239404542848f1..111fab732feb482ed25af22c50aab4895de558c6 100644 (file)
@@ -55,12 +55,12 @@ const char line_comment_chars[] = "#*";
 const char line_separator_chars[] = ";";
 
 /* Chars that can be used to separate mant from exp in floating point nums */
-CONST char EXP_CHARS[] = "eE";
+const char EXP_CHARS[] = "eE";
 
 /* Chars that mean this number is a floating point constant, as
    in "0f12.456" or "0d1.2345e12".  */
 
-CONST char FLT_CHARS[] = "rRsSfFdDxXeEpP";
+const char FLT_CHARS[] = "rRsSfFdDxXeEpP";
 
 /* Also be aware that MAXIMUM_NUMBER_OF_CHARS_FOR_FLOAT may have to be
    changed in read.c .  Ideally it shouldn't have to know about it at all,
@@ -611,7 +611,7 @@ const pseudo_typeS md_pseudo_table[] =
 extern void obj_coff_section PARAMS ((int));
 #endif
 
-CONST pseudo_typeS mote_pseudo_table[] =
+const pseudo_typeS mote_pseudo_table[] =
 {
 
   {"dcl", cons, 4},
@@ -4730,7 +4730,7 @@ tc_aout_fix_to_chars (where, fixP, segment_address_in_file)
    * Out: GNU LD relocation length code: 0, 1, or 2.
    */
 
-  static CONST unsigned char nbytes_r_length[] = {42, 0, 1, 42, 2};
+  static const unsigned char nbytes_r_length[] = {42, 0, 1, 42, 2};
   long r_symbolnum;
 
   know (fixP->fx_addsy != NULL);
@@ -4754,8 +4754,8 @@ tc_aout_fix_to_chars (where, fixP, segment_address_in_file)
 #endif /* OBJ_AOUT or OBJ_BOUT */
 
 #ifndef WORKING_DOT_WORD
-CONST int md_short_jump_size = 4;
-CONST int md_long_jump_size = 6;
+const int md_short_jump_size = 4;
+const int md_long_jump_size = 6;
 
 void
 md_create_short_jump (ptr, from_addr, to_addr, frag, to_symbol)
@@ -6729,9 +6729,9 @@ s_mri_endw (ignore)
  */
 
 #ifdef OBJ_ELF
-CONST char *md_shortopts = "lSA:m:kQ:V";
+const char *md_shortopts = "lSA:m:kQ:V";
 #else
-CONST char *md_shortopts = "lSA:m:k";
+const char *md_shortopts = "lSA:m:k";
 #endif
 
 struct option md_longopts[] = {
index c6f98124251b58e5a7b31c946ec734e83f2bbca9..f39098c3913aa604ee671acca6cdfe1d5a3e9579 100644 (file)
@@ -2,7 +2,7 @@
    Contributed by Devon Bowen of Buffalo University
    and Torbjorn Granlund of the Swedish Institute of Computer Science.
    Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1999,
-   2000, 2001
+   2000, 2001, 2002
    Free Software Foundation, Inc.
 
 This file is part of GAS, the GNU Assembler.
@@ -207,7 +207,7 @@ md_begin ()
     }
 }
 \f
-CONST char *md_shortopts = "";
+const char *md_shortopts = "";
 struct option md_longopts[] = {
   {NULL, no_argument, NULL, 0}
 };
index f079cc98d0b3595f7ab7f102f60c9fb0500d9b0f..a1e10575aad2c8d7a627afc1639212dec9f2503d 100644 (file)
@@ -1794,7 +1794,7 @@ md_atof (type, litP, sizeP)
   return 0;
 }
 \f
-CONST char * md_shortopts = "";
+const char * md_shortopts = "";
 
 #define OPTION_JSRI2BSR_ON     (OPTION_MD_BASE + 0)
 #define OPTION_JSRI2BSR_OFF    (OPTION_MD_BASE + 1)
index f69be037f74d6ef153e883a7a83718502d7cebea..7a973c181cbc4764f27041a0bcd8c945a480ee06 100644 (file)
@@ -3045,8 +3045,8 @@ macro_build_lui (place, counter, ep, regnum)
   struct mips_cl_insn insn;
   bfd_reloc_code_real_type r[3]
     = {BFD_RELOC_UNUSED, BFD_RELOC_UNUSED, BFD_RELOC_UNUSED};
-  CONST char *name = "lui";
-  CONST char *fmt = "t,u";
+  const char *name = "lui";
+  const char *fmt = "t,u";
 
   assert (! mips_opts.mips16);
 
@@ -9832,7 +9832,7 @@ static int support_64bit_objects(void)
 }
 #endif /* OBJ_ELF */
 
-CONST char *md_shortopts = "nO::g::G:";
+const char *md_shortopts = "nO::g::G:";
 
 struct option md_longopts[] =
 {
index 1ef1ef1186994e71e4dca24f5533ef402ea10591..4ed9ea008096e79c5d5e3a0b7617facb75635284 100644 (file)
@@ -1,6 +1,6 @@
 /* ns32k.c  -- Assemble on the National Semiconductor 32k series
    Copyright 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-   2001
+   2001, 2002
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -2125,7 +2125,7 @@ md_create_long_jump (ptr, from_addr, to_addr, frag, to_symbol)
   md_number_to_disp (ptr + 1, (valueT) offset, 4);
 }
 \f
-CONST char *md_shortopts = "m:";
+const char *md_shortopts = "m:";
 
 struct option md_longopts[] =
 {
index f79c1d59950831c98081f50beaac2216b4fd6ee4..92023d130a8005a89bbd5d0476eb669bd9a20a2b 100644 (file)
@@ -75,25 +75,25 @@ int asm_option[ASM_OPT_NUM];
 
 /* These chars start a comment anywhere in a source file (except inside
    another comment */
-CONST char comment_chars[] = "#/";
+const char comment_chars[] = "#/";
 
 /* These chars only start a comment at the beginning of a line.  */
-CONST char line_comment_chars[] = "#/";
+const char line_comment_chars[] = "#/";
 
-CONST char line_separator_chars[] = ";";
+const char line_separator_chars[] = ";";
 
 /* Chars that can be used to separate mant from exp in floating point nums */
-CONST char EXP_CHARS[] = "eE";
+const char EXP_CHARS[] = "eE";
 
 /* Chars that mean this number is a floating point constant */
 /* as in 0f123.456 */
 /* or    0H1.234E-12 (see exp chars above) */
-CONST char FLT_CHARS[] = "dDfF";
+const char FLT_CHARS[] = "dDfF";
 
 void pseudo_even (int);
 void pseudo_bss (int);
 
-CONST pseudo_typeS md_pseudo_table[] =
+const pseudo_typeS md_pseudo_table[] =
 {
   { "bss", pseudo_bss, 0 },
   { "even", pseudo_even, 0 },
@@ -617,7 +617,7 @@ void
 md_assemble (instruction_string)
      char *instruction_string;
 {
-  CONST struct pdp11_opcode *op;
+  const struct pdp11_opcode *op;
   struct pdp11_code insn, op1, op2;
   int error;
   int size;
@@ -1019,8 +1019,8 @@ md_convert_frag (headers, seg, fragP)
 {
 }
 
-CONST int md_short_jump_size = 2;
-CONST int md_long_jump_size = 4;
+const int md_short_jump_size = 2;
+const int md_long_jump_size = 4;
 
 void
 md_create_short_jump (ptr, from_addr, to_addr, frag, to_symbol)
@@ -1289,7 +1289,7 @@ set_machine_model (arg)
     return 0;
 }
 
-CONST char *md_shortopts = "m:";
+const char *md_shortopts = "m:";
 
 struct option md_longopts[] =
 {
@@ -1364,9 +1364,9 @@ enum
 
 struct
 {
-  CONST char *pattern;
+  const char *pattern;
   int opt;
-  CONST char *description;
+  const char *description;
 } options;
 
 static struct options extension_opts[] =
@@ -1433,7 +1433,7 @@ static struct options model_opts[] =
 
 struct
 {
-  CONST char *title;
+  const char *title;
   struct options *opts;
   int num;
 } all_opts[] =
@@ -1508,7 +1508,7 @@ parse_match (char *arg, char *pattern)
 int
 fprint_opt (stream, pattern)
      FILE *stream;
-     CONST char *pattern;
+     const char *pattern;
 {
   int n;
 
index 034b43796043d04984c30b2985e4e359998aa502..e9521463fe7eac658c4df147ede367aa91f3f74b 100644 (file)
@@ -1,6 +1,6 @@
 /*-
    tc-pj.c -- Assemble code for Pico Java
-   Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -383,7 +383,7 @@ md_atof (type, litP, sizeP)
   return NULL;
 }
 \f
-CONST char *md_shortopts = "";
+const char *md_shortopts = "";
 
 struct option md_longopts[] = {
 
index 6c459964a19bdeccdd12f2df923e88b548fa3723..44ba941b5e82c3d89ca911c3b20109530db2934e 100644 (file)
@@ -312,7 +312,7 @@ const int md_short_jump_size = 4;
 const int md_long_jump_size = 4;
 #endif
 
-CONST char *md_shortopts = "A:m:kVQ:";
+const char *md_shortopts = "A:m:kVQ:";
 struct option md_longopts[] = {
   {NULL, no_argument, NULL, 0}
 };
index f7aa62515d8740f982aee9031d06aa3c0acbf620..634b9b8b1fb75bb66c5a6225ca3584ccc608e9f1 100644 (file)
@@ -2601,7 +2601,7 @@ s_uses (ignore)
   demand_empty_rest_of_line ();
 }
 \f
-CONST char *md_shortopts = "";
+const char *md_shortopts = "";
 struct option md_longopts[] =
 {
 #define OPTION_RELAX  (OPTION_MD_BASE)
index 80cf39e00a0b3dcd756a5e97b0e89a8b1a37578e..5c610a9670e67a41ea2d51919c2f16e422882d9b 100644 (file)
@@ -395,12 +395,12 @@ sparc_target_format ()
  */
 
 #ifdef OBJ_ELF
-CONST char *md_shortopts = "A:K:VQ:sq";
+const char *md_shortopts = "A:K:VQ:sq";
 #else
 #ifdef OBJ_AOUT
-CONST char *md_shortopts = "A:k";
+const char *md_shortopts = "A:k";
 #else
-CONST char *md_shortopts = "A:";
+const char *md_shortopts = "A:";
 #endif
 #endif
 struct option md_longopts[] = {
index 4848e52bac527b242619727fb8dbab8db79ffc3f..034df4827dba0260556710750adb417e6083d881 100644 (file)
@@ -1,6 +1,6 @@
 /* This file is tc-tahoe.c
 
-   Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1995, 2000, 2001
+   Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1995, 2000, 2001, 2002
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -386,7 +386,7 @@ md_begin ()
     as_fatal (errorval);
 }
 \f
-CONST char *md_shortopts = "ad:STt:V";
+const char *md_shortopts = "ad:STt:V";
 struct option md_longopts[] = {
   {NULL, no_argument, NULL, 0}
 };
index ce1251cf8c1d9e46b697420b91ab5516bf226943..c34a5e107a82eaa78b524f9d49ee960fba959d45 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-tic80.c -- Assemble for the TI TMS320C80 (MV)
-   Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+   Copyright 1996, 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -900,7 +900,7 @@ md_begin ()
 \f
 /* The assembler adds md_shortopts to the string passed to getopt.  */
 
-CONST char *md_shortopts = "";
+const char *md_shortopts = "";
 
 /* The assembler adds md_longopts to the machine independent long options
    that are passed to getopt.  */
index e0c4936c8ccfa0574fb1a66336ba21ac7a8bf5cd..11abc665413d8fd4a489263ce959ea60a71b5905 100644 (file)
@@ -1086,7 +1086,7 @@ parse_register_list (insn, operand)
   return NULL;
 }
 
-CONST char *md_shortopts = "m:";
+const char *md_shortopts = "m:";
 
 struct option md_longopts[] = {
   {NULL, no_argument, NULL, 0}
index b6dc876436234b03df95a02c8bc74820b87f4df9..7c647233c560d5c3f18aac76b4501693ab988bfd 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-vax.c - vax-specific -
-   Copyright 1987, 1991, 1992, 1993, 1994, 1995, 1998, 2000, 2001
+   Copyright 1987, 1991, 1992, 1993, 1994, 1995, 1998, 2000, 2001, 2002
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -3097,9 +3097,9 @@ md_create_long_jump (ptr, from_addr, to_addr, frag, to_symbol)
 }
 \f
 #ifdef OBJ_VMS
-CONST char *md_shortopts = "d:STt:V+1h:Hv::";
+const char *md_shortopts = "d:STt:V+1h:Hv::";
 #else
-CONST char *md_shortopts = "d:STt:V";
+const char *md_shortopts = "d:STt:V";
 #endif
 struct option md_longopts[] = {
   {NULL, no_argument, NULL, 0}
index b3ddc68507801eb45f048bc2e19d96eb24ea3ed6..690bf506518509cc8759179f48d9d10d661be87d 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-w65.c -- Assemble code for the W65816
-   Copyright 1995, 1998, 2000, 2001 Free Software Foundation, Inc.
+   Copyright 1995, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -28,7 +28,7 @@
 #include "../opcodes/w65-opc.h"
 
 const char comment_chars[] = "!";
-CONST char line_separator_chars[] = ";";
+const char line_separator_chars[] = ";";
 const char line_comment_chars[] = "!#";
 
 /* This table describes all the machine specific pseudo-ops the assembler
@@ -1186,7 +1186,7 @@ md_estimate_size_before_relax (fragP, segment_type)
   return fragP->fr_var;
 }
 
-CONST char *md_shortopts = "";
+const char *md_shortopts = "";
 struct option md_longopts[] = {
 #define OPTION_RELAX (OPTION_MD_BASE)
   {NULL, no_argument, NULL, 0}
index 78a666c8216a276f5ff718194ee0edb21b799708..85afa104a38a2d5842d6228fb3f7c40411c29fe7 100644 (file)
@@ -1340,7 +1340,7 @@ md_atof (type, litP, sizeP)
   return 0;
 }
 \f
-CONST char *md_shortopts = "z:";
+const char *md_shortopts = "z:";
 
 struct option md_longopts[] =
   {
index 4c0b80a9ca561714523d83f0d8d4de1c6bbec068..658765c5ca20ac8a213cb42db27c23965eac18d9 100644 (file)
@@ -1,6 +1,6 @@
 /* write.c - emit .o file
    Copyright 1986, 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
-   1998, 1999, 2000, 2001
+   1998, 1999, 2000, 2001, 2002
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -61,8 +61,8 @@
 #endif
 
 #ifndef WORKING_DOT_WORD
-extern CONST int md_short_jump_size;
-extern CONST int md_long_jump_size;
+extern const int md_short_jump_size;
+extern const int md_long_jump_size;
 #endif
 
 /* Used to control final evaluation of expressions.  */
This page took 0.067738 seconds and 4 git commands to generate.