* config/tc-ns32k.c (md_begin): Initialize inst_hash_table after

all locals have been declared.
This commit is contained in:
Jason Thorpe 2003-06-23 00:41:47 +00:00
parent b07c2aad88
commit b7599f01d2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-06-22 Jason Thorpe <thorpej@wasabisystems.com>
* config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
all locals have been declared.
2003-06-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove

View File

@ -1640,9 +1640,10 @@ md_begin ()
/* Build a hashtable of the instructions. */
const struct ns32k_opcode *ptr;
const char *stat;
inst_hash_handle = hash_new ();
const struct ns32k_opcode *endop;
inst_hash_handle = hash_new ();
endop = ns32k_opcodes + sizeof (ns32k_opcodes) / sizeof (ns32k_opcodes[0]);
for (ptr = ns32k_opcodes; ptr < endop; ptr++)
{