aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arm-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
commit84037f8c661b04523b5858209b1dc69109f4f31e (patch)
tree27eb28738f9bf4d38786459f6da2ec8dd6e5fd2c /opcodes/arm-opc.h
parent93509525ce7ec98e549760eae1848ebf2fff0c9b (diff)
downloadfsf-binutils-gdb-84037f8c661b04523b5858209b1dc69109f4f31e.zip
fsf-binutils-gdb-84037f8c661b04523b5858209b1dc69109f4f31e.tar.gz
fsf-binutils-gdb-84037f8c661b04523b5858209b1dc69109f4f31e.tar.bz2
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/arm-opc.h')
-rw-r--r--opcodes/arm-opc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/arm-opc.h b/opcodes/arm-opc.h
index 85f611d..213d4f0 100644
--- a/opcodes/arm-opc.h
+++ b/opcodes/arm-opc.h
@@ -79,7 +79,7 @@ Thumb specific format options:
/* Note: There is a partial ordering in this table - it must be searched from
the top to obtain a correct match. */
-static struct arm_opcode arm_opcodes[] =
+static const struct arm_opcode arm_opcodes[] =
{
/* ARM instructions. */
{0xe1a00000, 0xffffffff, "nop\t\t\t(mov r0,r0)"},
@@ -395,7 +395,7 @@ static struct arm_opcode arm_opcodes[] =
#define BDISP(x) ((((x) & 0xffffff) ^ 0x800000) - 0x800000) /* 26 bit */
-static struct thumb_opcode thumb_opcodes[] =
+static const struct thumb_opcode thumb_opcodes[] =
{
/* Thumb instructions. */