[Ltrace-devel] ltrace and .opd section

PAUL GILLIAM pgilliam at us.ibm.com
Mon Apr 24 20:08:44 UTC 2006


Sounds like a great idea!

Let me know how I can help....

-=# Paul #=-

On Tue, 2006-04-25 at 04:50 +1000, Ian Wienand wrote:
> On Fri, Apr 21, 2006 at 11:13:31AM -0700, PAUL GILLIAM wrote:
> > You have it.  If there is no .odp section, then elf_plt2addr should just
> > return it's 'addr' argument.
> > 
> > I think that change has already been made.
> > 
> > Sorry.  I fixed this in the 'secure plt' branch, but not in the trunk.
> 
> OK, I think I've been here before; see
> 
> http://www.gelato.unsw.edu.au/IA64wiki/PPC64ABI
> 
> Notably, on IA64 the PLT entries are function descriptors, so don't
> need to be loaded, as is happening in the old code.  IA64 still has an
> .opd section for function address comparision.
> 
> This appears fixed in the secure PLT branch, as there PPC has changed
> so that the PLT isn't writable (as on IA64) so can be loaded directly.
> 
> I think this signals it is time to merge the secure plt branch, since
> the current behaviour is wrong for IA64.  Sound like a good idea?
> 
> -i




More information about the Ltrace-devel mailing list