summaryrefslogtreecommitdiff
path: root/gas/itbl-ops.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-03-29 09:05:27 +0000
committerNick Clifton <nickc@redhat.com>2007-03-29 09:05:27 +0000
commit04278a9d0d75c3eee34f0e0ad25914d01ceb47ae (patch)
treec996d1fbaac7256ae6e0e808dcca0677caa76159 /gas/itbl-ops.c
parent18f3be795246ef1d7e61037cf5d2a3d50ffc69ab (diff)
downloadbinutils-redhat-04278a9d0d75c3eee34f0e0ad25914d01ceb47ae.tar.gz
* 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.
Diffstat (limited to 'gas/itbl-ops.c')
-rw-r--r--gas/itbl-ops.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gas/itbl-ops.c b/gas/itbl-ops.c
index 7c5c749567..41fa0335e1 100644
--- a/gas/itbl-ops.c
+++ b/gas/itbl-ops.c
@@ -145,12 +145,7 @@ struct itbl_entry {
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);