From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KebN8-00084Q-GP for qemu-devel@nongnu.org; Sat, 13 Sep 2008 16:05:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KebN7-000843-TT for qemu-devel@nongnu.org; Sat, 13 Sep 2008 16:05:34 -0400 Received: from [199.232.76.173] (port=43296 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KebN7-000840-RR for qemu-devel@nongnu.org; Sat, 13 Sep 2008 16:05:33 -0400 Received: from savannah.gnu.org ([199.232.41.3]:36153 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 1KebN7-0002Qm-RY for qemu-devel@nongnu.org; Sat, 13 Sep 2008 16:05:33 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KebN6-0004Vu-R9 for qemu-devel@nongnu.org; Sat, 13 Sep 2008 20:05:32 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KebN6-0004Vq-Iw for qemu-devel@nongnu.org; Sat, 13 Sep 2008 20:05:32 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sat, 13 Sep 2008 20:05:32 +0000 Subject: [Qemu-devel] [5202] Fix stack alignment on Sparc32 host 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: 5202 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5202 Author: blueswir1 Date: 2008-09-13 20:05:32 +0000 (Sat, 13 Sep 2008) Log Message: ----------- Fix stack alignment on Sparc32 host Modified Paths: -------------- trunk/tcg/sparc/tcg-target.h Modified: trunk/tcg/sparc/tcg-target.h =================================================================== --- trunk/tcg/sparc/tcg-target.h 2008-09-13 17:20:52 UTC (rev 5201) +++ trunk/tcg/sparc/tcg-target.h 2008-09-13 20:05:32 UTC (rev 5202) @@ -79,7 +79,8 @@ #define TCG_TARGET_CALL_STACK_OFFSET (2047 + TCG_TARGET_STACK_MINFRAME) #define TCG_TARGET_STACK_ALIGN 16 #else -#define TCG_TARGET_STACK_MINFRAME (92 + 2 * (int)sizeof(long)) +// AREG0 + one word for alignment +#define TCG_TARGET_STACK_MINFRAME (92 + (2 + 1) * (int)sizeof(long)) #define TCG_TARGET_CALL_STACK_OFFSET TCG_TARGET_STACK_MINFRAME #define TCG_TARGET_STACK_ALIGN 8 #endif