]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
(make_instruction): Rename to cr16_make_instruction.
authorNick Clifton <nickc@redhat.com>
Mon, 7 Jan 2013 15:09:07 +0000 (15:09 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 7 Jan 2013 15:09:07 +0000 (15:09 +0000)
(match_opcode): Rename to cr16_match_opcode.

include/opcode/ChangeLog
include/opcode/cr16.h
opcodes/ChangeLog
opcodes/cr16-dis.c

index 90c313ab460e6d20861e80682c4930913eb13511..64c931aa499e09629abf1f3dd8f86205e4c4595d 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-07  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
+
+       * cr16.h (make_instruction): Rename to cr16_make_instruction.
+       (match_opcode): Rename to cr16_match_opcode.
+
 2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
 
        * mips.h: Add support for r5900 instructions including lq and sq.
index 76ac3a6bc19d025ca605f114f49ace6f1f269428..1f1191dc664a4454fca20c920b3fe702c974f0a6 100644 (file)
@@ -445,7 +445,7 @@ extern ULONGLONG cr16_allWords;
 extern ins cr16_currInsn;
 
 /* Prototypes for function in cr16-dis.c.  */
-extern void make_instruction (void);
-extern int  match_opcode (void);
+extern void cr16_make_instruction (void);
+extern int  cr16_match_opcode (void);
 
 #endif /* _CR16_H_ */
index ed0f903d0df7bc0343bf603befd3b6243c78f568..b8c2246ae28ac0fd446bdbca05cf7fe4d3131709 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-07  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
+
+       * cr16-dis.c (make_instruction): Rename to cr16_make_instruction.
+       (match_opcode): Rename to cr16_match_opcode.
+
 2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
 
        * mips-dis.c: Add names for CP0 registers of r5900.
index 9fbdf00a5a954a5572d3abf236e90857d00899a8..c8cf3a397cc8973d56925d8983715df0e8786e47 100644 (file)
@@ -315,7 +315,7 @@ build_mask (void)
 /* Search for a matching opcode. Return 1 for success, 0 for failure.  */
 
 int
-match_opcode (void)
+cr16_match_opcode (void)
 {
   unsigned long mask;
   /* The instruction 'constant' opcode doewsn't exceed 32 bits.  */
@@ -743,7 +743,7 @@ print_arguments (ins *currentInsn, bfd_vma memaddr, struct disassemble_info *inf
 /* Build the instruction's arguments.  */
 
 void
-make_instruction (void)
+cr16_make_instruction (void)
 {
   int i;
   unsigned int shift;
@@ -813,7 +813,7 @@ print_insn_cr16 (bfd_vma memaddr, struct disassemble_info *info)
   /* Retrieve the encoding from current memory location.  */
   get_words_at_PC (memaddr, info);
   /* Find a matching opcode in table.  */
-  is_decoded = match_opcode ();
+  is_decoded = cr16_match_opcode ();
   /* If found, print the instruction's mnemonic and arguments.  */
   if (is_decoded > 0 && (cr16_words[0] << 16 || cr16_words[1]) != 0)
     {
@@ -825,7 +825,7 @@ print_insn_cr16 (bfd_vma memaddr, struct disassemble_info *info)
       if (((cr16_currInsn.nargs = get_number_of_operands ()) != 0)
          && ! (IS_INSN_MNEMONIC ("b")))
         info->fprintf_func (info->stream, "\t");
-      make_instruction ();
+      cr16_make_instruction ();
       /* For push/pop/pushrtn with RA instructions.  */
       if ((INST_HAS_REG_LIST) && ((cr16_words[0] >> 7) & 0x1))
         cr16_currInsn.nargs +=1;