summaryrefslogtreecommitdiff
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
commit6b464dd02bdae28ede08370b2aef2bdd9bc4087f (patch)
tree9ddc0d608ae11d65fe9db8ce0be4357cea1d53d2
parent8bb39e3ceec509e7cdae2133a8f26b34c45ec99a (diff)
downloadbinutils-redhat-6b464dd02bdae28ede08370b2aef2bdd9bc4087f.tar.gz
* cr16.h (cr16_num_optab): Declared.
* cr16-opc.c (cr16_num_optab): Defined
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/cr16.h3
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/cr16-opc.c3
4 files changed, 12 insertions, 2 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index b5e77b852a..1de316e217 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+ * cr16.h (cr16_num_optab): Declared.
+
2008-02-14 Hakan Ardo <hakan@debian.org>
PR gas/2626
diff --git a/include/opcode/cr16.h b/include/opcode/cr16.h
index b7e3be554f..c99c51a6e5 100644
--- a/include/opcode/cr16.h
+++ b/include/opcode/cr16.h
@@ -1,5 +1,5 @@
/* cr16.h -- Header file for CR16 opcode and register tables.
- Copyright 2007 Free Software Foundation, Inc.
+ Copyright 2007, 2008 Free Software Foundation, Inc.
Contributed by M R Swami Reddy
This file is part of GAS, GDB and the GNU binutils.
@@ -368,6 +368,7 @@ extern const unsigned int cr16_num_opcodes;
/* CR16 operands table. */
extern const operand_entry cr16_optab[];
+extern const unsigned int cr16_num_optab;
/* CR16 registers table. */
extern const reg_entry cr16_regtab[];
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index e5ef34928b..954517862c 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 55c03818eb..fed2ea13b2 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[] =