aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-03-21 03:27:57 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-03-21 03:27:57 +0000
commitbbeee7eaea4dc0c8145299850787e50172438270 (patch)
tree1f7539041fa8e8932fd6284b6c904591834c6567 /binutils/readelf.c
parenta3bb354159b03c8fb14ecb1daa1fb63c8d7c636d (diff)
downloadgdb-bbeee7eaea4dc0c8145299850787e50172438270.zip
gdb-bbeee7eaea4dc0c8145299850787e50172438270.tar.gz
gdb-bbeee7eaea4dc0c8145299850787e50172438270.tar.bz2
2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (process_mips_specific): Declare addr_size as int.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c3
1 files changed, 2 insertions, 1 deletions
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);