* config/bfin-parse.y: Use C style comments.
* config/tc-bfin.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-mips.c: Likewise.
This commit is contained in:
parent
7204a45185
commit
8fc4ee9b84
5 changed files with 18 additions and 11 deletions
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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 :
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue