* config/tc-i860.c (md_atof): Remove declaration of atof_ieee.

(md_number_to_disp, md_number_to_field): Remove.
	(md_apply_fix3): Correct format string and cast "fup".
This commit is contained in:
Alan Modra 2002-12-12 22:27:07 +00:00
parent b9195351ad
commit d444b72608
2 changed files with 4 additions and 22 deletions

View File

@ -1,5 +1,8 @@
2002-12-13 Alan Modra <amodra@bigpond.net.au>
* config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
(md_number_to_disp, md_number_to_field): Remove.
(md_apply_fix3): Correct format string and cast "fup".
* config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
(s_endian <ignore>): Likewise.
(md_undefined_symbol <name>): Likewise.

View File

@ -898,7 +898,6 @@ md_atof (type, litP, sizeP)
LITTLENUM_TYPE words[MAX_LITTLENUMS];
LITTLENUM_TYPE *wordP;
char *t;
char *atof_ieee ();
switch (type)
{
@ -955,26 +954,6 @@ md_number_to_chars (buf, val, n)
number_to_chars_littleendian (buf, val, n);
}
/* This should never be called for i860. */
void
md_number_to_disp (buf, val, n)
char *buf ATTRIBUTE_UNUSED;
long val ATTRIBUTE_UNUSED;
int n ATTRIBUTE_UNUSED;
{
as_fatal (_("md_number_to_disp\n"));
}
/* This should never be called for i860. */
void
md_number_to_field (buf, val, fix)
char *buf ATTRIBUTE_UNUSED;
long val ATTRIBUTE_UNUSED;
void *fix ATTRIBUTE_UNUSED;
{
as_fatal (_("i860_number_to_field\n"));
}
/* This should never be called for i860. */
int
md_estimate_size_before_relax (fragP, segtype)
@ -1346,7 +1325,7 @@ md_apply_fix3 (fix, valP, seg)
else if (fup != OP_NONE)
{
as_bad_where (fix->fx_file, fix->fx_line,
_("Unrecognized fix-up (0x%08x)"), fup);
_("Unrecognized fix-up (0x%08lx)"), (unsigned long) fup);
abort ();
}
else