/* 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 },
#if 0
/* FIXME: what follows is broken badly. You can't deal with differences
in radix conventions this way, because of symbolic constants, constant
- expressions made up of pieces of differing radix, etc. The only
+ expressions made up of pieces of differing radix, etc. The only
choices are to change ../expr.c to know about pdp11 conventions, or
to accept the fact that gas will use consistent conventions that differ
from those of traditional pdp11 assemblers. For now, I've
operand->error = "Error in expression";
break;
}
- /* it's a floating literal... */
+ /* it's a floating literal... */
know (operand->reloc.exp.X_add_number < 0);
flonum_gen2vax ('f', &generic_floating_point_number, literal_float);
operand->word = literal_float[0];
operand->error = "Float AC not legal as integer operand";
return str;
}
-
+
return parse_op_noreg (str, operand);
}
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;
{
}
-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)
return 0;
}
-CONST char *md_shortopts = "m:";
+const char *md_shortopts = "m:";
struct option md_longopts[] =
{
struct
{
- CONST char *pattern;
+ const char *pattern;
int opt;
- CONST char *description;
+ const char *description;
} options;
static struct options extension_opts[] =
struct
{
- CONST char *title;
+ const char *title;
struct options *opts;
int num;
} all_opts[] =
int
fprint_opt (stream, pattern)
FILE *stream;
- CONST char *pattern;
+ const char *pattern;
{
int n;