2005-02-17 Paul Brook <paul@codesourcery.com>
[deliverable/binutils-gdb.git] / gas / config / tc-d10v.c
index c9c54a8680fac1e728f7f01b2595b2aa0acda3a3..639fdc0c9446e44076d14fb77a0879c46e5b822d 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-d10v.c -- Assembler code for the Mitsubishi D10V
-   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
+   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -635,7 +635,7 @@ build_insn (opcode, opers, insn)
 
          if (AT_WORD_P (&opers[i]))
            {
-             /* Reconize XXX>>1+N aka XXX@word+N as special (AT_WORD).  */
+             /* Recognize XXX>>1+N aka XXX@word+N as special (AT_WORD).  */
              fixups->fix[fixups->fc].reloc = BFD_RELOC_D10V_18;
              opers[i].X_op = O_symbol;
              opers[i].X_op_symbol = NULL; /* Should free it.  */
@@ -651,7 +651,7 @@ build_insn (opcode, opers, insn)
              fixups->fix[fixups->fc].reloc =
                get_reloc ((struct d10v_operand *) &d10v_operands[opcode->operands[i]]);
 
-             /* Check that a immediate was passed to ops that expect one. */
+             /* Check that an immediate was passed to ops that expect one.  */
              if ((flags & OPERAND_NUM)
                  && (fixups->fix[fixups->fc].reloc == 0))
                as_bad (_("operand is not an immediate"));
@@ -1554,7 +1554,7 @@ find_opcode (opcode, myops)
              break;
            }
 
-         /* Unfortunatly, for the indirect operand in instructions such
+         /* Unfortunately, for the indirect operand in instructions such
             as ``ldb r1, @(c,r14)'' this function can be passed
             X_op == O_register (because 'c' is a valid register name).
             However we cannot just ignore the case when X_op == O_register
@@ -1903,14 +1903,3 @@ d10v_fix_adjustable (fixP)
 
   return 1;
 }
-
-int
-d10v_force_relocation (fixp)
-     fixS *fixp;
-{
-  if (fixp->fx_r_type == BFD_RELOC_VTABLE_INHERIT
-      || fixp->fx_r_type == BFD_RELOC_VTABLE_ENTRY)
-    return 1;
-
-  return S_FORCE_RELOC (fixp->fx_addsy);
-}
This page took 0.024051 seconds and 4 git commands to generate.