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.
LITTLENUM_TYPE words[MAX_LITTLENUMS];
LITTLENUM_TYPE *wordP;
char *t;
- char *atof_ieee ();
switch (type)
{
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)
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