Pull up:
2003-06-22 Jason Thorpe <thorpej@wasabisystems.com> * config/tc-ns32k.c (md_begin): Initialize inst_hash_table after all locals have been declared. from the binutils mainline. Problem (and also fix) reported by Eyal Lebedinsky on port-pc532.
This commit is contained in:
parent
028911b136
commit
aa48fe87a3
|
@ -1640,9 +1640,9 @@ md_begin ()
|
||||||
/* Build a hashtable of the instructions. */
|
/* Build a hashtable of the instructions. */
|
||||||
const struct ns32k_opcode *ptr;
|
const struct ns32k_opcode *ptr;
|
||||||
const char *stat;
|
const char *stat;
|
||||||
inst_hash_handle = hash_new ();
|
|
||||||
const struct ns32k_opcode *endop;
|
const struct ns32k_opcode *endop;
|
||||||
|
|
||||||
|
inst_hash_handle = hash_new ();
|
||||||
endop = ns32k_opcodes + sizeof (ns32k_opcodes) / sizeof (ns32k_opcodes[0]);
|
endop = ns32k_opcodes + sizeof (ns32k_opcodes) / sizeof (ns32k_opcodes[0]);
|
||||||
for (ptr = ns32k_opcodes; ptr < endop; ptr++)
|
for (ptr = ns32k_opcodes; ptr < endop; ptr++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue