2014-11-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
authorJan-Benedict Glaw <jbglaw@getslash.de>
Wed, 5 Nov 2014 09:08:37 +0000 (10:08 +0100)
committerJan-Benedict Glaw <jbglaw@getslash.de>
Wed, 5 Nov 2014 10:36:00 +0000 (11:36 +0100)
* readelf.c (process_mips_specific): Fix format string warning.

binutils/ChangeLog
binutils/readelf.c

index d071381..3db190c 100644 (file)
@@ -1,3 +1,7 @@
+2014-11-05  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
+
+       * readelf.c (process_mips_specific): Fix format string warning.
+
 2014-11-04  Matthew Fortune  <matthew.fortune@imgtec.com>
 
        * readelf.c (process_mips_specific): Rename index to idx.
@@ -45,7 +49,7 @@
        unsigned long.
 
 2014-10-31  Andrew Pinski  <apinski@cavium.com>
-            Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
+           Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
 
        * readelf.c (print_mips_isa_ext): Print the value of Octeon3.
 
index 7c0c3ff..18465e6 100644 (file)
@@ -13519,7 +13519,8 @@ process_mips_specific (FILE * file)
                    printf (_("<corrupt: %14ld>"), psym->st_name);
                }
              else
-               printf (_("<symbol index %lu exceeds number of dynamic symbols>"), i);
+               printf (_("<symbol index %lu exceeds number of dynamic symbols>"),
+                       (unsigned long) i);
 
              printf ("\n");
            }