* 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.
This commit is contained in:
David Edelsohn 1997-07-24 22:21:05 +00:00
parent 280cdd548e
commit 8deb997b30
1 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,12 @@
Thu Jul 24 13:03:26 1997 Doug Evans <dje@canuck.cygnus.com>
* 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 <dje@canuck.cygnus.com>