* itbl-ops.h (enum e_processor): Initialise the e_nprocs field using ITBL_NUMBER_OF_PROCESSORS.
* itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
+2007-03-29 Nick Clifton <nickc@redhat.com>
+
+ * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
+ initialization.
+ * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
+ using ITBL_NUMBER_OF_PROCESSORS.
+ * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
+
2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): For instructions with 2
2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): For instructions with 2
static int itbl_num_opcodes = 0;
/* Array of entries for each processor and entry type */
static int itbl_num_opcodes = 0;
/* Array of entries for each processor and entry type */
-static struct itbl_entry *entries[e_nprocs][e_ntypes] = {
- {0, 0, 0, 0, 0, 0},
- {0, 0, 0, 0, 0, 0},
- {0, 0, 0, 0, 0, 0},
- {0, 0, 0, 0, 0, 0}
-};
+static struct itbl_entry *entries[e_nprocs][e_ntypes];
/* local prototypes */
static unsigned long build_opcode (struct itbl_entry *e);
/* local prototypes */
static unsigned long build_opcode (struct itbl_entry *e);
- Copyright 1997, 1999, 2000, 2003, 2006 Free Software Foundation, Inc.
+ Copyright 1997, 1999, 2000, 2003, 2006, 2007 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
This file is part of GAS, the GNU Assembler.
- e_nprocs = NUMBER_OF_PROCESSORS,
+ e_nprocs = ITBL_NUMBER_OF_PROCESSORS,
e_invproc /* invalid processor */
} e_processor;
e_invproc /* invalid processor */
} e_processor;
- Copyright 1997, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+ Copyright 1997, 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
This file is part of GAS, the GNU Assembler.
static int sbit, ebit;
static struct itbl_entry *insn=0;
static int sbit, ebit;
static struct itbl_entry *insn=0;
-static int yyerror PARAMS ((const char *));
+static int yyerror (const char *);