aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-12-12 22:27:07 +0000
committerAlan Modra <amodra@gmail.com>2002-12-12 22:27:07 +0000
commitd444b726082fa3c05173688313ebbe6dc5ee0858 (patch)
treee3f54bb06321d88864d7ee02417879cf53712a55 /gas
parentb9195351adf2052661bbccd86509769a678b997c (diff)
downloadgdb-d444b726082fa3c05173688313ebbe6dc5ee0858.zip
gdb-d444b726082fa3c05173688313ebbe6dc5ee0858.tar.gz
gdb-d444b726082fa3c05173688313ebbe6dc5ee0858.tar.bz2
* 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".
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-i860.c23
2 files changed, 4 insertions, 22 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8b3ac3d..0ec4721 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-i860.c b/gas/config/tc-i860.c
index 5535cbf..813b7b1 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)
{
@@ -956,26 +955,6 @@ md_number_to_chars (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)
register fragS *fragP ATTRIBUTE_UNUSED;
@@ -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