aboutsummaryrefslogtreecommitdiff
path: root/opcodes
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
parentd37466754111780c6ed25d45445d8353972cc22a (diff)
downloadgdb-796d53134aa59d7dcf70d0f82913974b04648c6a.zip
gdb-796d53134aa59d7dcf70d0f82913974b04648c6a.tar.gz
gdb-796d53134aa59d7dcf70d0f82913974b04648c6a.tar.bz2
* cr16.h (cr16_num_optab): Declared.
* cr16-opc.c (cr16_num_optab): Defined
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/cr16-opc.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index e5ef349..9545178 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+ * cr16-opc.c (cr16_num_optab): Defined
+
2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (operand_type_init): Add OPERAND_TYPE_INOUTPORTREG.
diff --git a/opcodes/cr16-opc.c b/opcodes/cr16-opc.c
index 55c0381..fed2ea1 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[] =