From 84037f8c661b04523b5858209b1dc69109f4f31e Mon Sep 17 00:00:00 2001 From: Klee Dienes Date: Mon, 18 Nov 2002 16:50:05 +0000 Subject: 2002-11-18 Klee Dienes * arc.h (arc_ext_opcodes): Declare as extern. (arc_ext_operands): Declare as extern. * i860.h (i860_opcodes): Declare as const. 2002-11-18 Klee Dienes * arc-opc.c (arc_ext_opcodes): Define. (arc_ext_operands): Define. * i386-dis.c (Suffix3DNow): Declare as const. * arm-opc.h (arm_opcodes): Declare as const. (thumb_opcodes): Declare as const. * h8500-opc.h (h8500_table): Declare as const. (h8500_table): Use a NULL for the opcode in the terminator, so that code testing (opcode->name) behaves correctly. * mcore-opc.h (mcore_table): Declare as const. * sh-opc.h (sh_table): Declare as const. * w65-opc.h (optable): Declare as const. * z8k-opc.h (z8k_table): Declare as const. --- opcodes/mcore-opc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opcodes/mcore-opc.h') diff --git a/opcodes/mcore-opc.h b/opcodes/mcore-opc.h index 7e4f539dd44..39d76bbd1f0 100644 --- a/opcodes/mcore-opc.h +++ b/opcodes/mcore-opc.h @@ -39,7 +39,7 @@ typedef struct inst mcore_opcode_info; #ifdef DEFINE_TABLE -mcore_opcode_info mcore_table[] = +const mcore_opcode_info mcore_table[] = { { "bkpt", O0, 0, 0x0000 }, { "sync", O0, 0, 0x0001 }, -- cgit v1.2.1