From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3299 invoked by alias); 27 Aug 2005 23:07:36 -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 3258 invoked by uid 22791); 27 Aug 2005 23:07:31 -0000 Received: from eth13.com-link.com (HELO real.realitydiluted.com) (208.242.241.164) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 27 Aug 2005 23:07:31 +0000 Received: from localhost ([127.0.0.1]) by real.realitydiluted.com with esmtp (Exim 4.50 #1 (Debian)) id 1E98q2-00013E-LJ for ; Sat, 27 Aug 2005 17:07:46 -0500 Message-ID: <4310F230.2030804@realitydiluted.com> Date: Sat, 27 Aug 2005 23:15:00 -0000 From: "Steven J. Hill" User-Agent: Debian Thunderbird 1.0.6 (X11/20050802) MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [PATCH] Fix MIPS bfd/elfxx-mips.c compile warning. Content-Type: multipart/mixed; boundary="------------020806030202060206020705" X-SW-Source: 2005-08/txt/msg00244.txt.bz2 This is a multi-part message in MIME format. --------------020806030202060206020705 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 175 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 --------------020806030202060206020705 Content-Type: text/x-patch; name="gdb-20050827-mips-cleanup.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gdb-20050827-mips-cleanup.patch" Content-length: 558 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 --------------020806030202060206020705--