aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@getslash.de>2014-11-05 10:08:37 +0100
committerJan-Benedict Glaw <jbglaw@getslash.de>2014-11-05 11:36:00 +0100
commit7fc5ac571661cb5e5dac3fe3d2284c9d0079ff33 (patch)
treed2951e43e2d581a19c25e359f33b6820aaf34b49 /binutils
parent20ad5e2842911039a60b6bdf9880cee895179e43 (diff)
downloadgdb-7fc5ac571661cb5e5dac3fe3d2284c9d0079ff33.zip
gdb-7fc5ac571661cb5e5dac3fe3d2284c9d0079ff33.tar.gz
gdb-7fc5ac571661cb5e5dac3fe3d2284c9d0079ff33.tar.bz2
2014-11-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* readelf.c (process_mips_specific): Fix format string warning.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/readelf.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index d071381..3db190c 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 7c0c3ff..18465e6 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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");
}