diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-03-21 03:27:57 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-03-21 03:27:57 +0000 |
commit | bbeee7eaea4dc0c8145299850787e50172438270 (patch) | |
tree | 1f7539041fa8e8932fd6284b6c904591834c6567 | |
parent | a3bb354159b03c8fb14ecb1daa1fb63c8d7c636d (diff) | |
download | gdb-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.
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 3 |
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); |