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>
* config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for

View File

@ -5706,7 +5706,7 @@ alpha_align (n, pfill, label, force)
/* This is called from HANDLE_ALIGN in write.c. Fill in the contents
of an rs_align_code fragment. */
void
void
alpha_handle_align (fragp)
fragS *fragp;
{

View File

@ -56,7 +56,7 @@ const struct suffix_classes {
{ "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;
@ -71,7 +71,7 @@ const struct syntax_classes {
{ "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[] =
{
@ -104,9 +104,9 @@ const char comment_chars[] = "#;";
.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[] = "";
@ -599,7 +599,7 @@ md_assemble (str)
NULL);
else
insn |= suffix->value << operand->shift;
str = t;
found = 1;
break;
@ -674,7 +674,7 @@ md_assemble (str)
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. */
@ -682,7 +682,7 @@ md_assemble (str)
{
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
@ -953,10 +953,10 @@ arc_extoper (opertype)
free(name);
return;
}
input_line_pointer++; /* skip ',' */
mode = input_line_pointer;
if (!strncmp(mode, "r|w",3))
{
imode = 0;
@ -1014,7 +1014,7 @@ arc_extoper (opertype)
}
else
{
input_line_pointer += 12;
input_line_pointer += 12;
}
}
}
@ -1037,11 +1037,11 @@ arc_extoper (opertype)
}
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)
@ -1304,7 +1304,7 @@ arc_extinst (ignore)
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 ();
@ -1419,7 +1419,6 @@ arc_common (localScope)
}
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 == ',')
@ -1596,7 +1595,7 @@ md_number_to_chars (buf, val, n)
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)
@ -1635,7 +1634,7 @@ arc_code_symbol(expressionP)
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;
@ -1672,9 +1671,9 @@ arc_code_symbol(expressionP)
??? 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;
{
@ -1797,7 +1796,7 @@ arc_cons_fix_new (frag, where, nbytes, exp)
/* The location from which a PC relative jump should be calculated,
given a PC relative reloc. */
long
long
md_pcrel_from (fixP)
fixS *fixP;
{

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
02111-1307, USA. */
#define TC_ARC 1

View File

@ -72,7 +72,7 @@ typedef int packing_type;
static packing_type etype = PACK_UNSPEC; /* Used by d10v_cleanup. */
/* True if instruction swapping warnings should be inhibited.
--nowarnswap. */
--nowarnswap. */
static boolean flag_warn_suppress_instructionswap;
/* True if instruction packing should be performed when --gstabs is specified.

View File

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

View File

@ -1126,7 +1126,7 @@ reloc (size, pcrel, sign, other)
sign ? "signed" : "unsigned", size);
}
abort();
abort ();
return BFD_RELOC_NONE;
}
@ -1619,7 +1619,7 @@ md_assemble (line)
break;
case O_absent:
case O_register:
abort();
abort ();
/* Symbols and expressions. */
default:
/* Convert symbolic operand to proper sizes for matching. */
@ -2970,7 +2970,7 @@ md_assemble (line)
}
/* We should find the immediate. */
if (n1 == i.operands)
abort();
abort ();
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. */
if (flag_code == CODE_64BIT)
abort();
abort ();
reloc_type = BFD_RELOC_386_GOTPC;
i.op[n].imms->X_add_number += 3;
}
@ -4598,7 +4598,7 @@ i386_validate_fix (fixp)
{
/* 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;
}
@ -4665,7 +4665,7 @@ tc_gen_reloc (section, fixp)
{
/* We don't support GOTPC on 64bit targets. */
if (flag_code == CODE_64BIT)
abort();
abort ();
code = BFD_RELOC_386_GOTPC;
}
@ -4703,7 +4703,6 @@ tc_gen_reloc (section, fixp)
rel->addend -= fixp->fx_size;
}
rel->howto = bfd_reloc_type_lookup (stdoutput, code);
if (rel->howto == NULL)
{
@ -4932,7 +4931,6 @@ struct intel_token
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

View File

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

View File

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

View File

@ -4101,7 +4101,7 @@ sparc_handle_align (fragp)
char *p;
count = fragp->fr_next->fr_address - fragp->fr_address - fragp->fr_fix;
switch (fragp->fr_type)
{
case rs_align_test:

View File

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

View File

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