From: David Edelsohn Date: Thu, 24 Jul 1997 22:21:05 +0000 (+0000) Subject: * sparc-opc.c (sparc_opcodes): Make array const. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8deb997b301cd57394b9bfedce59916049066dbe;p=binutils-gdb.git * sparc-opc.c (sparc_opcodes): Make array const. * sparc-dis.c (sorted_opcodes): New static local. (struct opcode_hash): `opcode' is pointer to const element. (build_hash): First arg is now table of sorted pointers. (print_insn_sparc): Sort opcodes by sorting table of pointers. (compare_opcodes): Update. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 2f513766078..facf1698738 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,6 +1,12 @@ Thu Jul 24 13:03:26 1997 Doug Evans * sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns. + Make array const. + * sparc-dis.c (sorted_opcodes): New static local. + (struct opcode_hash): `opcode' is pointer to const element. + (build_hash): First arg is now table of sorted pointers. + (print_insn_sparc): Sort opcodes by sorting table of pointers. + (compare_opcodes): Update. Tue Jul 15 12:05:23 1997 Doug Evans