This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix MIPS bfd/elfxx-mips.c compile warning.
- From: Nick Clifton <nickc at redhat dot com>
- To: "Steven J. Hill" <sjhill at realitydiluted dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, binutils at sourceware dot org
- Date: Mon, 29 Aug 2005 17:51:38 +0100
- Subject: Re: [PATCH] Fix MIPS bfd/elfxx-mips.c compile warning.
- References: <4310F230.2030804@realitydiluted.com> <20050827231530.GA11707@nevyn.them.org> <4310FFC9.3020204@realitydiluted.com>
Hi Steven,
Using gcc-4.1.0-20050604
Ooo - clever gcc. You didn't say, but I assume that the warning was
about "value" possibly being uninitialised when it is used right ? This
is gcc's interprocedural analysis really coming into its own here.
Anyway I have applied your suggested patch together with this ChangeLog
entry.
Cheers
Nick
bfd/ChangeLog
2005-08-29 Steven J. Hill <sjhill@realitydiluted.com>
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Initialise
'value' to avoid compile time warning message.