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 d071381d46842f28b0cabe35e0e6b261f08c4d39..3db190c94948bcc5ca71374f8d8462bbe0e9b4c5 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 7c0c3ff60d790d3eb809ee3d48934db6da9333e0..18465e66c5f1dfa96d979c734368c7df5b692adc 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");
            }