[patch] Strange stepping behaviour with ppc32 with secure PLTs

Mark Kettenis mark.kettenis@xs4all.nl
Tue May 16 07:18:00 GMT 2006


> Date: Tue, 16 May 2006 09:16:20 +0930
> From: Alan Modra <amodra@bigpond.net.au>
> 
> 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



More information about the Gdb-patches mailing list