From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5446 invoked by alias); 27 Aug 2005 23:15:35 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5420 invoked by uid 22791); 27 Aug 2005 23:15:31 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 27 Aug 2005 23:15:31 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1E99ta-00033Q-9R; Sat, 27 Aug 2005 19:15:30 -0400 Date: Mon, 29 Aug 2005 09:28:00 -0000 From: Daniel Jacobowitz To: "Steven J. Hill" Cc: gdb-patches@sources.redhat.com, binutils@sourceware.org Subject: Re: [PATCH] Fix MIPS bfd/elfxx-mips.c compile warning. Message-ID: <20050827231530.GA11707@nevyn.them.org> Mail-Followup-To: "Steven J. Hill" , gdb-patches@sources.redhat.com, binutils@sourceware.org References: <4310F230.2030804@realitydiluted.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4310F230.2030804@realitydiluted.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-08/txt/msg00245.txt.bz2 Redirecting to the right list. What's your compiler? Target? On Sat, Aug 27, 2005 at 06:07:28PM -0500, Steven J. Hill wrote: > Greetings. > > This patch fixes a compile warning which gets turned into an > error and prevents cross building of gdb. It my be worthless, > but that's for you to decided. > > -Steve > > Index: elfxx-mips.c > =================================================================== > RCS file: /cvs/src/src/bfd/elfxx-mips.c,v > retrieving revision 1.149 > diff -u -r1.149 elfxx-mips.c > --- elfxx-mips.c 17 Aug 2005 10:04:26 -0000 1.149 > +++ elfxx-mips.c 27 Aug 2005 23:04:41 -0000 > @@ -6942,7 +6942,7 @@ > for (rel = relocs; rel < relend; ++rel) > { > const char *name; > - bfd_vma value; > + bfd_vma value = 0; > reloc_howto_type *howto; > bfd_boolean require_jalx; > /* TRUE if the relocation is a RELA relocation, rather than a -- Daniel Jacobowitz CodeSourcery, LLC