OSDN Git Service

2002-11-16 Klee Dienes <kdienes@apple.com>
authorKlee Dienes <kdienes@apple.com>
Sat, 16 Nov 2002 18:34:52 +0000 (18:34 +0000)
committerKlee Dienes <kdienes@apple.com>
Sat, 16 Nov 2002 18:34:52 +0000 (18:34 +0000)
commita4da2106441e5291be06b72408fef8f492312ca2
treeefb036c9c246f016dea8a215c37aac7f673c5b91
parent30bae87ba4e3b0ba6c3166d2123cfbd3931e7bc1
2002-11-16  Klee Dienes  <kdienes@apple.com>

* m88k.h (INSTAB): Remove 'next' field.
(instruction): Remove definition; replace with extern declaration
and mark as const.

2002-11-16  Klee Dienes  <kdienes@apple.com>

* m88k-dis.c: (HASHTAB): New type, used to build instruction hash tables.
Contains a pointer to an INSTAB and a pointer to the next hash
chain entry.
(instructions): Move definition from m88k.h; remove initialization
of 'next' field.
(hashtable): Now an aray of pointer-to-HASHTAB, not INSTAB.
(printop): Mark pointer to OPSPEC as const.
(install): Remove; fold into init_disasm.
(m88kdis): Update to ihashtab_initialized to 1 after calling init_disasm.
entry_ptr now iterates through HASHTABs, not INSTABs.
(init_disasm): Iterate through the instructions and add to hashtable[].
bfd/ChangeLog