summaryrefslogtreecommitdiff
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
commiteedec97d866ecf3267b286476142f9260ca2189e (patch)
tree9e9b23c4c771598dcd1f8696f01a8fa3c2ae9a60 /opcodes
parent847a77a4de8124a280a1403bf556ff52f88ed581 (diff)
downloadgdb-eedec97d866ecf3267b286476142f9260ca2189e.tar.gz
* 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 e5ef34928bc..954517862c5 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 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[] =