From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F81ym-0002IT-TZ for qemu-devel@nongnu.org; Sat, 11 Feb 2006 16:08:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F81s0-0008G7-TX for qemu-devel@nongnu.org; Sat, 11 Feb 2006 16:01:30 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F80Jf-0008NC-Mr for qemu-devel@nongnu.org; Sat, 11 Feb 2006 14:21:55 -0500 Received: from [65.74.133.4] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F7vQr-0004aT-5F for qemu-devel@nongnu.org; Sat, 11 Feb 2006 09:09:01 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Re: Some patches for qemu on sparc Date: Sat, 11 Feb 2006 14:04:44 +0000 References: <200602110438.37854.paul@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602111404.45535.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jurij@wooyd.org Cc: qemu-devel@nongnu.org On Saturday 11 February 2006 05:17, Jurij Smakov wrote: > On Sat, 11 Feb 2006, Paul Brook wrote: > > Maybe a better strategy is to force generation of a register window save > > with the FORCE_RET macro. > > > > #define FORCE_RET() asm volatile("":::"o0"); > > > > Seems to do the trick. > > This change does not have any effect on build failure in ppc target. This > is not surprising, because AFAICT the FORCE_RET macro is only used in arm, > i386 and sparc targets. Any other ideas? Fix PPC so it uses FORCE_RET. PPC currently uses it's own RETURN() macro. I see no good reason for it being different. Paul