From: H.J. Lu Date: Fri, 21 Mar 2008 03:27:57 +0000 (+0000) Subject: 2008-03-20 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbeee7eaea4dc0c8145299850787e50172438270;p=binutils-gdb.git 2008-03-20 H.J. Lu * readelf.c (process_mips_specific): Declare addr_size as int. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f7dedebccab..30466fe5053 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2008-03-20 H.J. Lu + + * readelf.c (process_mips_specific): Declare addr_size as int. + 2008-03-20 Richard Sandiford * readelf.c (print_mips_got_entry): New function. diff --git a/binutils/readelf.c b/binutils/readelf.c index 2807f268332..bb79e0c2685 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);