OSDN Git Service

* config/bfin-parse.y: Use C style comments.
authorAlan Modra <amodra@bigpond.net.au>
Mon, 20 Oct 2008 01:03:50 +0000 (01:03 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Mon, 20 Oct 2008 01:03:50 +0000 (01:03 +0000)
* config/tc-bfin.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-mips.c: Likewise.

gas/ChangeLog
gas/config/bfin-parse.y
gas/config/tc-bfin.c
gas/config/tc-m68k.c
gas/config/tc-mips.c

index 518f367..5d553bf 100644 (file)
@@ -1,3 +1,10 @@
+2008-10-20  Jay Krell  <jay.krell@cornell.edu>
+
+       * config/bfin-parse.y: Use C style comments.
+       * config/tc-bfin.c: Likewise.
+       * config/tc-m68k.c: Likewise.
+       * config/tc-mips.c: Likewise.
+
 2008-10-12  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/tc-i386.c (processor_type): Moved to tc-i386.h.
index f91224e..83cc688 100644 (file)
@@ -1,5 +1,5 @@
 /* bfin-parse.y  ADI Blackfin parser
-   Copyright 2005, 2006, 2007
+   Copyright 2005, 2006, 2007, 2008
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -23,7 +23,7 @@
 #include "as.h"
 #include <obstack.h>
 
-#include "bfin-aux.h"  // opcode generating auxiliaries
+#include "bfin-aux.h"  /* Opcode generating auxiliaries.  */
 #include "libbfd.h"
 #include "elf/common.h"
 #include "elf/bfin.h"
index 8dccdbc..6628900 100644 (file)
@@ -1452,14 +1452,14 @@ bfin_gen_ldstidxi (REG_T ptr, REG_T reg, int W, int sz, int Z, Expr_Node * poffs
     {
       int value, offset;
       switch (sz)
-       {                               // load/store access size
-       case 0:                 // 32 bit
+       {                               /* load/store access size */
+       case 0:                 /* 32 bit */
          value = EXPR_VALUE (poffset) >> 2;
          break;
-       case 1:                 // 16 bit
+       case 1:                 /* 16 bit */
          value = EXPR_VALUE (poffset) >> 1;
          break;
-       case 2:                 // 8 bit
+       case 2:                 /* 8 bit */
          value = EXPR_VALUE (poffset);
          break;
        default:
index f3e3cf5..2bf7453 100644 (file)
@@ -6184,8 +6184,8 @@ swap_mri_condition (int cc)
     case MCC ('g', 't'): return MCC ('l', 't');
     case MCC ('l', 'e'): return MCC ('g', 'e');
     /* Issue a warning for conditions we can not swap.  */
-    case MCC ('n', 'e'): return MCC ('n', 'e'); // no problem here
-    case MCC ('e', 'q'): return MCC ('e', 'q'); // also no problem
+    case MCC ('n', 'e'): return MCC ('n', 'e'); /* no problem here */
+    case MCC ('e', 'q'): return MCC ('e', 'q'); /* also no problem */
     case MCC ('v', 'c'):
     case MCC ('v', 's'):
     default :
index f55961b..b7eddc9 100644 (file)
@@ -1949,17 +1949,17 @@ md_begin (void)
      helps us detect invalid uses of them.  */
   for (i = 0; reg_names[i].name; i++) 
     symbol_table_insert (symbol_new (reg_names[i].name, reg_section,
-                                    reg_names[i].num, // & RNUM_MASK,
+                                    reg_names[i].num, /* & RNUM_MASK, */
                                     &zero_address_frag));
   if (HAVE_NEWABI)
     for (i = 0; reg_names_n32n64[i].name; i++) 
       symbol_table_insert (symbol_new (reg_names_n32n64[i].name, reg_section,
-                                      reg_names_n32n64[i].num, // & RNUM_MASK,
+                                      reg_names_n32n64[i].num, /* & RNUM_MASK, */
                                       &zero_address_frag));
   else
     for (i = 0; reg_names_o32[i].name; i++) 
       symbol_table_insert (symbol_new (reg_names_o32[i].name, reg_section,
-                                      reg_names_o32[i].num, // & RNUM_MASK,
+                                      reg_names_o32[i].num, /* & RNUM_MASK, */
                                       &zero_address_frag));
 
   mips_no_prev_insn ();