aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-10-20 01:03:50 +0000
committerAlan Modra <amodra@gmail.com>2008-10-20 01:03:50 +0000
commit8fc4ee9b84d1ea2eb9c3ac71e62abcf2dcb3e895 (patch)
tree993309d4183feb8ba6fb7ffeda98421318afedcc
parent7204a4518504309e3ae0d2186199294bf70c0b97 (diff)
downloadgdb-8fc4ee9b84d1ea2eb9c3ac71e62abcf2dcb3e895.zip
gdb-8fc4ee9b84d1ea2eb9c3ac71e62abcf2dcb3e895.tar.gz
gdb-8fc4ee9b84d1ea2eb9c3ac71e62abcf2dcb3e895.tar.bz2
* config/bfin-parse.y: Use C style comments.
* config/tc-bfin.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-mips.c: Likewise.
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/bfin-parse.y4
-rw-r--r--gas/config/tc-bfin.c8
-rw-r--r--gas/config/tc-m68k.c4
-rw-r--r--gas/config/tc-mips.c6
5 files changed, 18 insertions, 11 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 518f367..5d553bf 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/bfin-parse.y b/gas/config/bfin-parse.y
index f91224e..83cc688 100644
--- a/gas/config/bfin-parse.y
+++ b/gas/config/bfin-parse.y
@@ -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"
diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c
index 8dccdbc..6628900 100644
--- a/gas/config/tc-bfin.c
+++ b/gas/config/tc-bfin.c
@@ -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:
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index f3e3cf5..2bf7453 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -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 :
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index f55961b..b7eddc9 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -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 ();