/* tc-ldx.c -- Assemble for the DLX
- Copyright 2002 Free Software Foundation, Inc.
+ Copyright 2002, 2003 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
as_fatal (_("Broken assembler. No assembly attempted."));
define_some_regs ();
- return;
}
/* Assemble a single instruction. Its label has already been handled
/* Searching for (/[ which will match the ]/). */
for (pb = idx - 1; str[pb] != match; pb -= 1)
/* Match can only be either '[' or '(', if it is
- '(' then this can be an normal expression, we'll treat
+ '(' then this can be a normal expression, we'll treat
it as an operand. */
if (str[pb] == endm || pb < (idx - 5))
goto load_no_rs1;
imm[m2] = '\0';
- /* Assemble the instruction to gas intrernal format. */
+ /* Assemble the instruction to gas internal format. */
for (i = 0; rd[i] != '\0'; i++)
iBuf[i] = rd[i];
imm[i] = '\0';
- /* Assemble the instruction to gas intrernal format. */
+ /* Assemble the instruction to gas internal format. */
for (i = 0; rd[i] != '\0'; i++)
iBuf[i] = rd[i];
iBuf[i++] = ',';
return retval;
}
-/* Definition of TC_FORCE_RELOCATION.
- we need this for gas to force relocation for VTABLE. */
-
-int
-md_dlx_force_relocation (fixp)
- struct fix *fixp;
-{
- return (fixp->fx_r_type == BFD_RELOC_VTABLE_INHERIT
- || fixp->fx_r_type == BFD_RELOC_VTABLE_ENTRY
- || S_FORCE_RELOC (fixp->fx_addsy));
-}
-
-boolean
+bfd_boolean
md_dlx_fix_adjustable (fixP)
fixS *fixP;
{
number_to_chars_bigendian (place, val, fixP->fx_size);
if (fixP->fx_addsy == NULL)
fixP->fx_done = 1;
- return;
}
const char *md_shortopts = "";
md_show_usage (stream)
FILE *stream ATTRIBUTE_UNUSED;
{
- return;
}
/* This is called when a line is unrecognized. */
/* Parse an operand that is machine-specific, the function was called
- in expr.c by operand() function, when everything failed bdfore it
+ in expr.c by operand() function, when everything failed before it
call a quit. */
void