From d444b726082fa3c05173688313ebbe6dc5ee0858 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 12 Dec 2002 22:27:07 +0000 Subject: [PATCH] * 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". --- gas/ChangeLog | 3 +++ gas/config/tc-i860.c | 23 +---------------------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 8b3ac3d133..0ec47218dc 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,8 @@ 2002-12-13 Alan Modra + * 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 ): Likewise. (md_undefined_symbol ): Likewise. diff --git a/gas/config/tc-i860.c b/gas/config/tc-i860.c index 5535cbf100..813b7b1a65 100644 --- a/gas/config/tc-i860.c +++ b/gas/config/tc-i860.c @@ -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