This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] - binutils - cr16 - opcode patch


Hi,

Here is minor patch for cr16 target opcode files (ie cr16-opc.c and cr16.h file).

Could you please review and approve the same.

Thanks,
Swami
Index: include/opcode/ChangeLog
===================================================================
RCS file: /cvs/src/src/include/opcode/ChangeLog,v
retrieving revision 1.355
diff -c -r1.355 ChangeLog
*** include/opcode/ChangeLog	14 Feb 2008 13:04:29 -0000	1.355
--- include/opcode/ChangeLog	18 Feb 2008 05:59:04 -0000
***************
*** 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
Index: include/opcode/cr16.h
===================================================================
RCS file: /cvs/src/src/include/opcode/cr16.h,v
retrieving revision 1.1
diff -c -r1.1 cr16.h
*** include/opcode/cr16.h	29 Jun 2007 14:09:34 -0000	1.1
--- include/opcode/cr16.h	18 Feb 2008 05:59:04 -0000
***************
*** 368,373 ****
--- 368,374 ----
  
  /* 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[];
Index: opcodes/ChangeLog
===================================================================
RCS file: /cvs/src/src/opcodes/ChangeLog,v
retrieving revision 1.1240
diff -c -r1.1240 ChangeLog
*** opcodes/ChangeLog	16 Feb 2008 16:16:47 -0000	1.1240
--- opcodes/ChangeLog	18 Feb 2008 05:59:05 -0000
***************
*** 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.
Index: opcodes/cr16-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/cr16-opc.c,v
retrieving revision 1.3
diff -c -r1.3 cr16-opc.c
*** opcodes/cr16-opc.c	1 Oct 2007 15:55:37 -0000	1.3
--- opcodes/cr16-opc.c	18 Feb 2008 05:59:05 -0000
***************
*** 593,598 ****
--- 593,599 ----
    {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[] =

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]