This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]