This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: PowerPC SecurePLT - stepping into library function
> Date: Fri, 06 Jan 2012 12:24:38 -0800
> From: Michael Eager <eager@eagerm.com>
>
> https://www.power.org/resources/downloads/Power-Arch-32-bit-ABI-supp-1.0-Linux.pdf
Thanks!
I guess you'll have to do some sort of instruction pattern matching.
The ABI document suggests specific code sequences for them, which is
probably what everybody uses to implement them. You might want to
have a look at what is done in mips-linux-tdep.c, since it seems to
have linkage stubs outside of the PLT as well. Actually closer to
home the 64-bit PowerPC stuff seems to do somethings similar.