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:
parent
d952f17a9d
commit
bfb32b5207
|
@ -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
|
||||||
|
|
|
@ -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[] =
|
||||||
{
|
{
|
||||||
|
@ -104,9 +104,9 @@ const char comment_chars[] = "#;";
|
||||||
.line and .file directives will appear in the pre-processed output */
|
.line and .file directives will appear in the pre-processed output */
|
||||||
/* Note that input_file.c hand checks for '#' at the beginning of the
|
/* 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
|
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
|
/* 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_comment_chars[] = "#";
|
||||||
|
|
||||||
const char line_separator_chars[] = "";
|
const char line_separator_chars[] = "";
|
||||||
|
@ -674,7 +674,7 @@ md_assemble (str)
|
||||||
break;
|
break;
|
||||||
/* If this is a register constant (IE: one whose
|
/* If this is a register constant (IE: one whose
|
||||||
register value gets stored as 61-63) then this
|
register value gets stored as 61-63) then this
|
||||||
must be a limm. */
|
must be a limm. */
|
||||||
/* ??? This bit could use some cleaning up.
|
/* ??? This bit could use some cleaning up.
|
||||||
Referencing the format chars like this goes
|
Referencing the format chars like this goes
|
||||||
against style. */
|
against style. */
|
||||||
|
@ -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 == ',')
|
||||||
|
@ -1596,7 +1595,7 @@ md_number_to_chars (buf, val, n)
|
||||||
number_to_chars_littleendian (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
|
valueT
|
||||||
md_section_align (segment, size)
|
md_section_align (segment, size)
|
||||||
|
@ -1635,7 +1634,7 @@ arc_code_symbol(expressionP)
|
||||||
expressionS *expressionP;
|
expressionS *expressionP;
|
||||||
{
|
{
|
||||||
if (expressionP->X_op == O_symbol && expressionP->X_add_number == 0
|
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)
|
&& expressionP->X_op_symbol == NULL)
|
||||||
{
|
{
|
||||||
expressionS two;
|
expressionS two;
|
||||||
|
@ -1672,7 +1671,7 @@ arc_code_symbol(expressionP)
|
||||||
|
|
||||||
??? We can't create new expression types so we map the %-op's onto the
|
??? 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
|
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)
|
md_operand (expressionP)
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
You should have received a copy of the GNU General Public License
|
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
|
along with GAS; see the file COPYING. If not, write to the Free
|
||||||
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||||
02111-1307, USA. */
|
02111-1307, USA. */
|
||||||
|
|
||||||
#define TC_ARC 1
|
#define TC_ARC 1
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue