From 087e01e5f0fe96e6433de8f538b452bc71285abb Mon Sep 17 00:00:00 2001 From: Klee Dienes Date: Sat, 16 Nov 2002 18:34:52 +0000 Subject: [PATCH] 2002-11-16 Klee Dienes * m88k.h (INSTAB): Remove 'next' field. (instruction): Remove definition; replace with extern declaration and mark as const. 2002-11-16 Klee Dienes * 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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 479674b6c6b..48850877a86 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,18 @@ +2002-11-16 Klee Dienes + + * 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[]. + 2002-11-15 Kazu Hirata * coff-h8300.c (h8300_reloc16_estimate): Do not optimize away -- 2.30.2