Re: [patch] Strange stepping behaviour with ppc32 with secure PLTs

Mark Kettenis
2006-05-16T06:34:18Z

> 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