From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14239 invoked by alias); 24 Jan 2012 23:49:38 -0000 Received: (qmail 14231 invoked by uid 22791); 24 Jan 2012 23:49:37 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from caibbdcaaaaf.dreamhost.com (HELO homiemail-a40.g.dreamhost.com) (208.113.200.5) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Jan 2012 23:49:24 +0000 Received: from homiemail-a40.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a40.g.dreamhost.com (Postfix) with ESMTP id BAC7F74C06E; Tue, 24 Jan 2012 15:49:23 -0800 (PST) Received: from redwood.eagercon.com (c-76-102-3-160.hsd1.ca.comcast.net [76.102.3.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eager@eagerm.com) by homiemail-a40.g.dreamhost.com (Postfix) with ESMTPSA id 826C974C058; Tue, 24 Jan 2012 15:49:23 -0800 (PST) Message-ID: <4F1F4382.4010103@eagerm.com> Date: Wed, 25 Jan 2012 00:37:00 -0000 From: Michael Eager User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: gdb-patches@sourceware.org CC: Mark Kettenis , "Joseph S. Myers" , "Ryan S.Arnold" , Pedro Alves Subject: Re: [PATCH] PowerPC 32 with Secure PLT References: <4F1636C7.4020207@eagercon.com> In-Reply-To: <4F1636C7.4020207@eagercon.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00856.txt.bz2 On 01/17/2012 07:04 PM, Michael Eager wrote: > 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 > > * 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. Will check in in a couple days, unless I hear additional comments. -- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077