From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29830 invoked by alias); 16 May 2006 06:34:18 -0000 Received: (qmail 29821 invoked by uid 22791); 16 May 2006 06:34:18 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 16 May 2006 06:34:16 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k4G6Y7c4012605; Tue, 16 May 2006 08:34:07 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6) with ESMTP id k4G6Y687007082; Tue, 16 May 2006 08:34:06 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6/Submit) id k4G6Y49p009983; Tue, 16 May 2006 08:34:04 +0200 (CEST) Date: Tue, 16 May 2006 07:18:00 -0000 Message-Id: <200605160634.k4G6Y49p009983@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: amodra@bigpond.net.au CC: pgilliam@us.ibm.com, gdb-patches@sources.redhat.com In-reply-to: <20060515234620.GG19700@bubble.grove.modra.org> (message from Alan Modra on Tue, 16 May 2006 09:16:20 +0930) Subject: Re: [patch] Strange stepping behaviour with ppc32 with secure PLTs References: <1147469935.3672.114.camel@dufur.beaverton.ibm.com> <20060512225044.GA20706@nevyn.them.org> <20060513143141.GB19700@bubble.grove.modra.org> <20060513145829.GA3721@nevyn.them.org> <20060515005619.GC19700@bubble.grove.modra.org> <20060515150854.GA28766@nevyn.them.org> <20060515234620.GG19700@bubble.grove.modra.org> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00352.txt.bz2 > Date: Tue, 16 May 2006 09:16:20 +0930 > From: Alan Modra > > On Mon, May 15, 2006 at 11:08:54AM -0400, Daniel Jacobowitz wrote: > [about powerpc stubs] > > Can't we somehow record them in the object file, then? > > Would one symbol at the start of a block of stubs be sufficient? If so, > please sugest a name to suit existing gdb code (if there is such). > > On powerpc, the stubs are all in one block at the end of .text. On > powerpc64 they are in multiple blocks throughout .text. Did anyone look at how things are done for hppa? There we have import and export stubs that seem to be somewhat similar to the stubs used here. Also, what's necessary for producing binaries with these stubs. Just a new enough linker invoked with --secure-plt? Or do I need a new enough compiler too? Mark