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.
This commit is contained in:
Kazu Hirata 2001-01-14 18:54:06 +00:00
parent d952f17a9d
commit bfb32b5207
13 changed files with 43 additions and 38 deletions

View File

@ -1,3 +1,18 @@
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> 2001-01-14 Alan Modra <alan@linuxcare.com.au>
* config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for

View File

@ -56,7 +56,7 @@ const struct suffix_classes {
{ "SUFFIX_NONE", 11 } { "SUFFIX_NONE", 11 }
}; };
#define MAXSUFFIXCLASS (sizeof(suffixclass) / sizeof(struct suffix_classes)) #define MAXSUFFIXCLASS (sizeof (suffixclass) / sizeof (struct suffix_classes))
const struct syntax_classes { const struct syntax_classes {
char *name; char *name;
@ -71,7 +71,7 @@ const struct syntax_classes {
{ "SYNTAX_2OP", 10, SYNTAX_2OP|SYNTAX_VALID } { "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[] = const pseudo_typeS md_pseudo_table[] =
{ {
@ -1037,7 +1037,7 @@ arc_extoper (opertype)
} }
ext_oper = (struct arc_ext_operand_value *) \ ext_oper = (struct arc_ext_operand_value *) \
xmalloc(sizeof(struct arc_ext_operand_value)); xmalloc(sizeof (struct arc_ext_operand_value));
if(opertype) if(opertype)
{ {
@ -1304,7 +1304,7 @@ arc_extinst (ignore)
strcat(syntax,"%F"); strcat(syntax,"%F");
strcat(syntax,"%S%L"); 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) if(NULL == ext_op)
{ {
ignore_rest_of_line (); ignore_rest_of_line ();
@ -1419,7 +1419,6 @@ arc_common (localScope)
} }
assert (symbolP->sy_frag == &zero_address_frag); assert (symbolP->sy_frag == &zero_address_frag);
/* Now parse the alignment field. This field is optional for /* Now parse the alignment field. This field is optional for
local and global symbols. Default alignment is zero. */ local and global symbols. Default alignment is zero. */
if (*input_line_pointer == ',') if (*input_line_pointer == ',')

View File

@ -2679,7 +2679,6 @@ md_convert_frag (abfd, sec, fragp)
/* We have no need to default values of symbols. */ /* We have no need to default values of symbols. */
/*ARGSUSED*/
symbolS * symbolS *
md_undefined_symbol (name) md_undefined_symbol (name)
char *name; char *name;

View File

@ -1126,7 +1126,7 @@ reloc (size, pcrel, sign, other)
sign ? "signed" : "unsigned", size); sign ? "signed" : "unsigned", size);
} }
abort(); abort ();
return BFD_RELOC_NONE; return BFD_RELOC_NONE;
} }
@ -1619,7 +1619,7 @@ md_assemble (line)
break; break;
case O_absent: case O_absent:
case O_register: case O_register:
abort(); abort ();
/* Symbols and expressions. */ /* Symbols and expressions. */
default: default:
/* Convert symbolic operand to proper sizes for matching. */ /* Convert symbolic operand to proper sizes for matching. */
@ -2970,7 +2970,7 @@ md_assemble (line)
} }
/* We should find the immediate. */ /* We should find the immediate. */
if (n1 == i.operands) if (n1 == i.operands)
abort(); abort ();
i.op[n].disps->X_add_number -= imm_size; i.op[n].disps->X_add_number -= imm_size;
} }
@ -3064,7 +3064,7 @@ md_assemble (line)
{ {
/* We don't support dynamic linking on x86-64 yet. */ /* We don't support dynamic linking on x86-64 yet. */
if (flag_code == CODE_64BIT) if (flag_code == CODE_64BIT)
abort(); abort ();
reloc_type = BFD_RELOC_386_GOTPC; reloc_type = BFD_RELOC_386_GOTPC;
i.op[n].imms->X_add_number += 3; i.op[n].imms->X_add_number += 3;
} }
@ -4598,7 +4598,7 @@ i386_validate_fix (fixp)
{ {
/* GOTOFF relocation are nonsense in 64bit mode. */ /* GOTOFF relocation are nonsense in 64bit mode. */
if (flag_code == CODE_64BIT) if (flag_code == CODE_64BIT)
abort(); abort ();
fixp->fx_r_type = BFD_RELOC_386_GOTOFF; fixp->fx_r_type = BFD_RELOC_386_GOTOFF;
fixp->fx_subsy = 0; fixp->fx_subsy = 0;
} }
@ -4665,7 +4665,7 @@ tc_gen_reloc (section, fixp)
{ {
/* We don't support GOTPC on 64bit targets. */ /* We don't support GOTPC on 64bit targets. */
if (flag_code == CODE_64BIT) if (flag_code == CODE_64BIT)
abort(); abort ();
code = BFD_RELOC_386_GOTPC; code = BFD_RELOC_386_GOTPC;
} }
@ -4703,7 +4703,6 @@ tc_gen_reloc (section, fixp)
rel->addend -= fixp->fx_size; rel->addend -= fixp->fx_size;
} }
rel->howto = bfd_reloc_type_lookup (stdoutput, code); rel->howto = bfd_reloc_type_lookup (stdoutput, code);
if (rel->howto == NULL) if (rel->howto == NULL)
{ {
@ -4932,7 +4931,6 @@ struct intel_token
static struct intel_token cur_token, prev_token; static struct intel_token cur_token, prev_token;
/* Token codes for the intel parser. Since T_SHORT is already used /* Token codes for the intel parser. Since T_SHORT is already used
by COFF, undefine it first to prevent a warning. */ by COFF, undefine it first to prevent a warning. */
#define T_NIL -1 #define T_NIL -1

View File

@ -2788,7 +2788,6 @@ s_endian (ignore)
/* We have no need to default values of symbols. */ /* We have no need to default values of symbols. */
/* ARGSUSED */
symbolS * symbolS *
md_undefined_symbol (name) md_undefined_symbol (name)
char *name; char *name;

View File

@ -7048,7 +7048,6 @@ is_label (str)
/* We have no need to default values of symbols. */ /* We have no need to default values of symbols. */
/* ARGSUSED */
symbolS * symbolS *
md_undefined_symbol (name) md_undefined_symbol (name)
char *name ATTRIBUTE_UNUSED; char *name ATTRIBUTE_UNUSED;
@ -7100,7 +7099,6 @@ md_pcrel_from (fixP)
#ifndef BFD_ASSEMBLER #ifndef BFD_ASSEMBLER
#ifdef OBJ_COFF #ifdef OBJ_COFF
/*ARGSUSED*/
void void
tc_coff_symbol_emit_hook (ignore) tc_coff_symbol_emit_hook (ignore)
symbolS *ignore ATTRIBUTE_UNUSED; symbolS *ignore ATTRIBUTE_UNUSED;

View File

@ -4595,7 +4595,6 @@ md_convert_frag (abfd, sec, fragp)
/* We have no need to default values of symbols. */ /* We have no need to default values of symbols. */
/*ARGSUSED*/
symbolS * symbolS *
md_undefined_symbol (name) md_undefined_symbol (name)
char *name ATTRIBUTE_UNUSED; char *name ATTRIBUTE_UNUSED;

View File

@ -1975,7 +1975,6 @@ md_assemble (instruction_string)
/* We have no need to default values of symbols. */ /* We have no need to default values of symbols. */
/* ARGSUSED */
symbolS * symbolS *
md_undefined_symbol (name) md_undefined_symbol (name)
char *name; char *name;

View File

@ -3204,7 +3204,6 @@ VMS options:\n\
/* We have no need to default values of symbols. */ /* We have no need to default values of symbols. */
/* ARGSUSED */
symbolS * symbolS *
md_undefined_symbol (name) md_undefined_symbol (name)
char *name; char *name;