Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMhpc-0007Kc-8O for qemu-devel@nongnu.org; Sat, 26 Jul 2008 07:21:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMhpb-0007Jx-Cv for qemu-devel@nongnu.org; Sat, 26 Jul 2008 07:20:59 -0400 Received: from [199.232.76.173] (port=58177 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMhpb-0007Jq-4C for qemu-devel@nongnu.org; Sat, 26 Jul 2008 07:20:59 -0400 Received: from savannah.gnu.org ([199.232.41.3]:44927 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMhpb-0001NU-5y for qemu-devel@nongnu.org; Sat, 26 Jul 2008 07:20:59 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KMhpa-0006rc-Ds for qemu-devel@nongnu.org; Sat, 26 Jul 2008 11:20:58 +0000 Received: from malc by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KMhpa-0006rU-5Y for qemu-devel@nongnu.org; Sat, 26 Jul 2008 11:20:58 +0000 MIME-Version: 1.0 Errors-To: malc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: malc Message-Id: Date: Sat, 26 Jul 2008 11:20:58 +0000 Subject: [Qemu-devel] [4948] Use proper offset for LR save slot Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 4948 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4948 Author: malc Date: 2008-07-26 11:20:57 +0000 (Sat, 26 Jul 2008) Log Message: ----------- Use proper offset for LR save slot Modified Paths: -------------- trunk/tcg/ppc64/tcg-target.c Modified: trunk/tcg/ppc64/tcg-target.c =================================================================== --- trunk/tcg/ppc64/tcg-target.c 2008-07-26 11:20:54 UTC (rev 4947) +++ trunk/tcg/ppc64/tcg-target.c 2008-07-26 11:20:57 UTC (rev 4948) @@ -805,7 +805,7 @@ | (i * 8 + 48 + TCG_STATIC_CALL_ARGS_SIZE) ) ); - tcg_out32 (s, STD | RS (0) | RA (1) | (frame_size + 20)); + tcg_out32 (s, STD | RS (0) | RA (1) | (frame_size + 16)); tcg_out32 (s, MTSPR | RS (3) | CTR); tcg_out32 (s, BCCTR | BO_ALWAYS); @@ -820,7 +820,7 @@ | (i * 8 + 48 + TCG_STATIC_CALL_ARGS_SIZE) ) ); - tcg_out32 (s, LD | RT (0) | RA (1) | (frame_size + 20)); + tcg_out32 (s, LD | RT (0) | RA (1) | (frame_size + 16)); tcg_out32 (s, MTSPR | RS (0) | LR); tcg_out32 (s, ADDI | RT (1) | RA (1) | frame_size); tcg_out32 (s, BCLR | BO_ALWAYS);