OSDN Git Service

2002-11-16 Klee Dienes <kdienes@apple.com>
authorkdienes <kdienes>
Sat, 16 Nov 2002 18:42:12 +0000 (18:42 +0000)
committerkdienes <kdienes>
Sat, 16 Nov 2002 18:42:12 +0000 (18:42 +0000)
commit6475d0d6a054f15ef95089961b67acc011bc328c
tree1b9129bbc410746140e1b8b6e50d62016a8c2cc2
parent3bbe2fb30c174796f448228da9b84fe83659d32d
2002-11-16  Klee Dienes  <kdienes@apple.com>

        * m88k-dis.c: Include libiberty.h (for xmalloc).
        (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[].
opcodes/ChangeLog
opcodes/m88k-dis.c