From: Nick Clifton Date: Mon, 18 Feb 2008 13:46:45 +0000 (+0000) Subject: * cr16.h (cr16_num_optab): Declared. X-Git-Tag: gdb_6_8-2008-02-26-branchpoint~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=796d53134aa59d7dcf70d0f82913974b04648c6a;p=external%2Fbinutils.git * cr16.h (cr16_num_optab): Declared. * cr16-opc.c (cr16_num_optab): Defined --- diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index b5e77b8..1de316e 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2008-02-18 M R Swami Reddy + + * cr16.h (cr16_num_optab): Declared. + 2008-02-14 Hakan Ardo PR gas/2626 diff --git a/include/opcode/cr16.h b/include/opcode/cr16.h index b7e3be5..c99c51a 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 e5ef349..9545178 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2008-02-18 M R Swami Reddy + + * cr16-opc.c (cr16_num_optab): Defined + 2008-02-16 H.J. Lu * 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[] =