2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 21 Mar 2008 03:27:57 +0000 (03:27 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 21 Mar 2008 03:27:57 +0000 (03:27 +0000)
* readelf.c (process_mips_specific): Declare addr_size as int.

binutils/ChangeLog
binutils/readelf.c

index f7dedebccab67d64bba5fac73299d5ca601a8e6f..30466fe5053cfad4c2528b94c129ede4de1676a1 100644 (file)
@@ -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.
index 2807f268332925c605bcaadb4b49eef1f8b671df..bb79e0c2685ad3fe3e24f0e9033bc3a41eb88805 100644 (file)
@@ -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);