summaryrefslogtreecommitdiff
path: root/opcodes/cr16-opc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-02-18 13:46:45 +0000
committerNick Clifton <nickc@redhat.com>2008-02-18 13:46:45 +0000
commit796d53134aa59d7dcf70d0f82913974b04648c6a (patch)
treec1a4e1dfdd3b8c4f853d314af381d36ba0488b16 /opcodes/cr16-opc.c
parentd37466754111780c6ed25d45445d8353972cc22a (diff)
downloadbinutils-gdb-796d53134aa59d7dcf70d0f82913974b04648c6a.tar.gz
* cr16.h (cr16_num_optab): Declared.
* cr16-opc.c (cr16_num_optab): Defined
Diffstat (limited to 'opcodes/cr16-opc.c')
-rw-r--r--opcodes/cr16-opc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/cr16-opc.c b/opcodes/cr16-opc.c
index 55c03818eb5..fed2ea13b23 100644
--- a/opcodes/cr16-opc.c
+++ b/opcodes/cr16-opc.c
@@ -1,5 +1,5 @@
/* cr16-opc.c -- Table of opcodes for the CR16 processor.
- Copyright 2007 Free Software Foundation, Inc.
+ Copyright 2007, 2008 Free Software Foundation, Inc.
Contributed by M R Swami Reddy (MR.Swami.Reddy@nsc.com)
This file is part of the GNU opcodes library.
@@ -593,6 +593,7 @@ const operand_entry cr16_optab[] =
{4, arg_cc, OP_UNSIGNED} /* cc - code */
};
+const unsigned int cr16_num_optab = ARRAY_SIZE (cr16_optab);
/* CR16 traps/interrupts. */
const trap_entry cr16_traps[] =