From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14090 invoked by alias); 13 Aug 2006 08:15:18 -0000 Received: (qmail 14069 invoked by uid 22791); 13 Aug 2006 08:15:16 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 13 Aug 2006 09:15:11 +0100 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id F046710104; Sun, 13 Aug 2006 10:15:06 +0200 (CEST) From: Andreas Schwab To: Steven Munroe Cc: libc-hacker@sources.redhat.com, Alan Modra Subject: Re: [PATCH] PPC32 cfi update part3 References: <43BC618A.1000006@us.ibm.com> X-Yow: Yes, but will I see the EASTER BUNNY in skintight leather at an IRON MAIDEN concert? Date: Sun, 13 Aug 2006 08:15:00 -0000 In-Reply-To: <43BC618A.1000006@us.ibm.com> (Steven Munroe's message of "Wed, 04 Jan 2006 18:00:10 -0600") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00016.txt.bz2 Steven Munroe writes: > * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve, > _dl_profile_resolve): Add CFI directives for stack and LR save. > Save LR in LRSAVE of previous frame per ABI. This breaks profiling. The caller of _mcount is supposed to store LR in LRSAVE, and _mcount restores it from there, but LRSAVE gets clobbered by the trampoline. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."