From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23742 invoked by alias); 16 May 2006 07:18:40 -0000 Received: (qmail 23734 invoked by uid 22791); 16 May 2006 07:18:40 -0000 X-Spam-Check-By: sourceware.org Received: from omta05ps.mx.bigpond.com (HELO omta05ps.mx.bigpond.com) (144.140.83.195) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 16 May 2006 07:18:37 +0000 Received: from grove.modra.org ([144.136.172.108]) by omta05ps.mx.bigpond.com with ESMTP id <20060516071834.PTDH14751.omta05ps.mx.bigpond.com@grove.modra.org> for ; Tue, 16 May 2006 07:18:34 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 0509E1E3F81; Tue, 16 May 2006 16:48:34 +0930 (CST) Date: Tue, 16 May 2006 17:53:00 -0000 From: Alan Modra To: Mark Kettenis Cc: pgilliam@us.ibm.com, gdb-patches@sources.redhat.com Subject: Re: [patch] Strange stepping behaviour with ppc32 with secure PLTs Message-ID: <20060516071833.GH19700@bubble.grove.modra.org> References: <1147469935.3672.114.camel@dufur.beaverton.ibm.com> <20060512225044.GA20706@nevyn.them.org> <20060513143141.GB19700@bubble.grove.modra.org> <20060513145829.GA3721@nevyn.them.org> <20060515005619.GC19700@bubble.grove.modra.org> <20060515150854.GA28766@nevyn.them.org> <20060515234620.GG19700@bubble.grove.modra.org> <200605160634.k4G6Y49p009983@elgar.sibelius.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605160634.k4G6Y49p009983@elgar.sibelius.xs4all.nl> User-Agent: Mutt/1.4i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00353.txt.bz2 On Tue, May 16, 2006 at 08:34:04AM +0200, Mark Kettenis wrote: > 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? You need a new linker and all relocatable object files involved in the link must be compiled with -msecure-plt. That includes headers and static libraries. So.. Complete new toolchain. binutils+gcc+glibc. -- Alan Modra IBM OzLabs - Linux Technology Centre