This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gas warning fixes 11


gas/ChangeLog
	* 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".

Index: gas/config/tc-i860.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-i860.c,v
retrieving revision 1.13
diff -u -p -r1.13 tc-i860.c
--- gas/config/tc-i860.c	5 Sep 2002 00:01:17 -0000	1.13
+++ gas/config/tc-i860.c	12 Dec 2002 12:44:41 -0000
@@ -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

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]