aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index f7dedeb..30466fe 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * readelf.c (process_mips_specific): Declare addr_size as int.
+
2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
* readelf.c (print_mips_got_entry): New function.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 2807f26..bb79e0c 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -9560,8 +9560,9 @@ process_mips_specific (FILE *file)
if (pltgot != 0 && local_gotno != 0)
{
bfd_vma entry, local_end, global_end;
- size_t addr_size, i, offset;
+ size_t i, offset;
unsigned char *data;
+ int addr_size;
entry = pltgot;
addr_size = (is_32bit_elf ? 4 : 8);