From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31405 invoked by alias); 17 May 2010 07:53:41 -0000 Received: (qmail 31394 invoked by uid 22791); 17 May 2010 07:53:40 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 May 2010 07:53:36 +0000 Received: (qmail 5595 invoked from network); 17 May 2010 07:53:34 -0000 Received: from unknown (HELO ?192.168.0.104?) (ams@127.0.0.2) by mail.codesourcery.com with ESMTPA; 17 May 2010 07:53:34 -0000 Message-ID: <4BF0F5FC.8080607@codesourcery.com> Date: Mon, 17 May 2010 07:53:00 -0000 From: Andrew Stubbs User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: prelink@sourceware.org Subject: Re: [PATCH] Fix MIPS debug info prelinking References: <4BE4340A.5050004@codesourcery.com> In-Reply-To: <4BE4340A.5050004@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact prelink-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: prelink-owner@sourceware.org X-SW-Source: 2010-q2/txt/msg00002.txt.bz2 Ping? On 07/05/10 16:38, Andrew Stubbs wrote: > Hi all, > > Prelink currently fails to relocate the debug info in MIPS libraries > because they use a custom section type. > > Here is an example section from PPC: > > [29] .debug_frame PROGBITS 00000000 0021b0 00002c 00 0 0 4 > > The type is "PROGBITS", which is what prelink likes, so it works correctly. > > Now, here is an example from an equivalent MIPS binary: > > [28] .debug_frame MIPS_DWARF 00000000 000ee8 00002c 00 0 0 4 > > Here the type is "MIPS_DWARF", a type not handled by prelink. > > Please accept the attached patch to fix this. > > Thanks > > Andrew >