[PATCH] PowerPC 32 with Secure PLT

Michael Eager eager@eagercon.com
Wed Jan 18 03:36:00 GMT 2012


This patch adds support for stepping into/over the PLT stubs generated
for secure PLT on PowerPC 32.  It requires a recent binutils which
generates symbols for the stubs.

This has been tested on PowerPC 32-bit systems with and without PAX.

2012-01-17  Michael Eager  <eager@eagercon.com>

         * configure.tgt (powerpc-*-linux*): Add glibc-tdep.o.
         * ppc-linux-tdep.c: Include glibc-tdep.h.
         (powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates.
         (powerpc_linux_in_plt_stub): New function.
         (powerpc_linux_in_dynsym_resolve_code): New function.
         (ppc_skip_trampoline_code): New function.
         (ppc_linux_init_abi): Use PPC specific functions rather than generic.
	Use glibc_skip_solib_resolver.

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077
-------------- next part --------------
A non-text attachment was scrubbed...
Name: securePLT.patch
Type: text/x-patch
Size: 5485 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120118/ed4af5b2/attachment.bin>


More information about the Gdb-patches mailing list