+2001-01-14 Kazu Hirata <kazu@hxi.com>
+
+ * config/tc-alpha.c: Fix formatting.
+ * config/tc-arc.c: Likewise.
+ * config/tc-arc.h: Likewise.
+ * config/tc-d10v.c: Likewise.
+ * config/tc-i370.c: Likewise.
+ * config/tc-i386.c: Likewise.
+ * config/tc-i960.c: Likewise.
+ * config/tc-m68k.c: Likewise.
+ * config/tc-ppc.c: Likewise.
+ * config/tc-sparc.c: Likewise.
+ * config/tc-tahoe.c: Likewise.
+ * config/tc-vax.c: Likewise.
+
2001-01-14 Alan Modra <alan@linuxcare.com.au>
* config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for
{ "SUFFIX_NONE", 11 }
};
-#define MAXSUFFIXCLASS (sizeof(suffixclass) / sizeof(struct suffix_classes))
+#define MAXSUFFIXCLASS (sizeof (suffixclass) / sizeof (struct suffix_classes))
const struct syntax_classes {
char *name;
{ "SYNTAX_2OP", 10, SYNTAX_2OP|SYNTAX_VALID }
};
-#define MAXSYNTAXCLASS (sizeof(syntaxclass) / sizeof(struct syntax_classes))
+#define MAXSYNTAXCLASS (sizeof (syntaxclass) / sizeof (struct syntax_classes))
const pseudo_typeS md_pseudo_table[] =
{
.line and .file directives will appear in the pre-processed output */
/* Note that input_file.c hand checks for '#' at the beginning of the
first line of the input file. This is because the compiler outputs
- #NO_APP at the beginning of its output. */
+ #NO_APP at the beginning of its output. */
/* Also note that comments started like this one will always
- work if '/' isn't otherwise defined. */
+ work if '/' isn't otherwise defined. */
const char line_comment_chars[] = "#";
const char line_separator_chars[] = "";
NULL);
else
insn |= suffix->value << operand->shift;
-
+
str = t;
found = 1;
break;
break;
/* If this is a register constant (IE: one whose
register value gets stored as 61-63) then this
- must be a limm. */
+ must be a limm. */
/* ??? This bit could use some cleaning up.
Referencing the format chars like this goes
against style. */
{
const char *junk;
limm_reloc_p = 1;
- /* save this, we don't yet know what reloc to use */
+ /* save this, we don't yet know what reloc to use */
fix_up_at = fc;
/* Tell insert_reg we need a limm. This is
needed because the value at this point is
free(name);
return;
}
-
+
input_line_pointer++; /* skip ',' */
mode = input_line_pointer;
-
+
if (!strncmp(mode, "r|w",3))
{
imode = 0;
}
else
{
- input_line_pointer += 12;
+ input_line_pointer += 12;
}
}
}
}
ext_oper = (struct arc_ext_operand_value *) \
- xmalloc(sizeof(struct arc_ext_operand_value));
+ xmalloc(sizeof (struct arc_ext_operand_value));
if(opertype)
{
- /* if the symbol already exists, point it at the new definition */
+ /* if the symbol already exists, point it at the new definition */
if ((symbolP = symbol_find (name)))
{
if (S_GET_SEGMENT(symbolP) == reg_section)
strcat(syntax,"%F");
strcat(syntax,"%S%L");
- ext_op = (struct arc_opcode *) xmalloc(sizeof(struct arc_opcode));
+ ext_op = (struct arc_opcode *) xmalloc(sizeof (struct arc_opcode));
if(NULL == ext_op)
{
ignore_rest_of_line ();
}
assert (symbolP->sy_frag == &zero_address_frag);
-
/* Now parse the alignment field. This field is optional for
local and global symbols. Default alignment is zero. */
if (*input_line_pointer == ',')
number_to_chars_littleendian (buf, val, n);
}
-/* Round up a section size to the appropriate boundary. */
+/* Round up a section size to the appropriate boundary. */
valueT
md_section_align (segment, size)
expressionS *expressionP;
{
if (expressionP->X_op == O_symbol && expressionP->X_add_number == 0
- /* I think this test is unnecessary but just as a sanity check... */
+ /* I think this test is unnecessary but just as a sanity check... */
&& expressionP->X_op_symbol == NULL)
{
expressionS two;
??? We can't create new expression types so we map the %-op's onto the
existing syntax. This means that the user could use the chosen syntax
- to achieve the same effect. */
+ to achieve the same effect. */
-void
+void
md_operand (expressionP)
expressionS *expressionP;
{
/* The location from which a PC relative jump should be calculated,
given a PC relative reloc. */
-long
+long
md_pcrel_from (fixP)
fixS *fixP;
{
sign ? "signed" : "unsigned", size);
}
- abort();
+ abort ();
return BFD_RELOC_NONE;
}
break;
case O_absent:
case O_register:
- abort();
+ abort ();
/* Symbols and expressions. */
default:
/* Convert symbolic operand to proper sizes for matching. */
}
/* We should find the immediate. */
if (n1 == i.operands)
- abort();
+ abort ();
i.op[n].disps->X_add_number -= imm_size;
}
{
/* We don't support dynamic linking on x86-64 yet. */
if (flag_code == CODE_64BIT)
- abort();
+ abort ();
reloc_type = BFD_RELOC_386_GOTPC;
i.op[n].imms->X_add_number += 3;
}
{
/* GOTOFF relocation are nonsense in 64bit mode. */
if (flag_code == CODE_64BIT)
- abort();
+ abort ();
fixp->fx_r_type = BFD_RELOC_386_GOTOFF;
fixp->fx_subsy = 0;
}
{
/* We don't support GOTPC on 64bit targets. */
if (flag_code == CODE_64BIT)
- abort();
+ abort ();
code = BFD_RELOC_386_GOTPC;
}
rel->addend -= fixp->fx_size;
}
-
rel->howto = bfd_reloc_type_lookup (stdoutput, code);
if (rel->howto == NULL)
{
static struct intel_token cur_token, prev_token;
-
/* Token codes for the intel parser. Since T_SHORT is already used
by COFF, undefine it first to prevent a warning. */
#define T_NIL -1