summaryrefslogtreecommitdiff
path: root/opcodes/sh-opc.h
diff options
context:
space:
mode:
authorKlee Dienes <kdienes@apple.com>2002-11-18 16:50:05 +0000
committerKlee Dienes <kdienes@apple.com>2002-11-18 16:50:05 +0000
commitfad172d1f7fdf1e8cc42e903f6eb3208c9a4df3b (patch)
treeb4937153bad25985f0bb12c79d70ee9acc0c1f2e /opcodes/sh-opc.h
parenteadf164a25ba8786b2e83cad942f5191b6b19b3b (diff)
downloadbinutils-redhat-fad172d1f7fdf1e8cc42e903f6eb3208c9a4df3b.tar.gz
2002-11-18 Klee Dienes <kdienes@apple.com>
* 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 <kdienes@apple.com> * 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.
Diffstat (limited to 'opcodes/sh-opc.h')
-rw-r--r--opcodes/sh-opc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/sh-opc.h b/opcodes/sh-opc.h
index abdc464705..21f64dde61 100644
--- a/opcodes/sh-opc.h
+++ b/opcodes/sh-opc.h
@@ -170,7 +170,7 @@ typedef struct {
#ifdef DEFINE_TABLE
-sh_opcode_info sh_table[] = {
+const sh_opcode_info sh_table[] = {
/* 0111nnnni8*1.... add #<imm>,<REG_N> */{"add",{A_IMM,A_REG_N},{HEX_7,REG_N,IMM0_8}, arch_sh1_up},