From: Alan Modra Date: Mon, 20 Oct 2008 01:03:50 +0000 (+0000) Subject: * config/bfin-parse.y: Use C style comments. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fc4ee9b84d1ea2eb9c3ac71e62abcf2dcb3e895;p=binutils-gdb.git * config/bfin-parse.y: Use C style comments. * config/tc-bfin.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-mips.c: Likewise. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 518f3671a2c..5d553bf5a98 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2008-10-20 Jay Krell + + * 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 * 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 f91224ed5dc..83cc68802ad 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 -#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 8dccdbc3d29..66289009572 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 f3e3cf53815..2bf7453e63d 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 f55961b413d..b7eddc9f9cf 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 ();