From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32659 invoked by alias); 16 Apr 2005 07:44:55 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 32630 invoked from network); 16 Apr 2005 07:44:50 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 16 Apr 2005 07:44:50 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j3G7iohq014201 for ; Sat, 16 Apr 2005 03:44:50 -0400 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j3G7ioO07007; Sat, 16 Apr 2005 03:44:50 -0400 Received: from [172.31.0.98] (vpnuser4.surrey.redhat.com [172.16.9.4]) by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id j3G7inkk029965; Sat, 16 Apr 2005 08:44:49 +0100 Message-ID: <4260C213.1040501@redhat.com> Date: Sat, 16 Apr 2005 07:44:00 -0000 From: Nick Clifton User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) MIME-Version: 1.0 To: Martin Koegler CC: binutils@sources.redhat.com Subject: Re: Bug in readelf References: <20050415101337.GA25948@curie.auto.tuwien.ac.at> In-Reply-To: <20050415101337.GA25948@curie.auto.tuwien.ac.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-04/txt/msg00448.txt.bz2 Hi Martin, > In the CVS Head version of binutils/readelf.c, > > 7390: warn (_("%s: skipping unexpected symbol type %s in relocation in section .rela%s\n"), > 7391: get_symbol_type (ELF32_ST_TYPE (sym->st_info)), > 7392: SECTION_NAME (section)); > > contain 3 %s, while only two parameters are provided. This can cause a segementation fault. Thanks for reporting this bug. I have checked in the obvious patch to fix the problem, along with this ChangeLog entry. Cheers Nick binutils/ChangeLog 2005-04-16 Nick Clifton * readelf.c (debug_apply_rela_addends): Remove redundant %s from printf string.