From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jxddp-0004Cp-NO for qemu-devel@nongnu.org; Sun, 18 May 2008 03:49:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jxddp-0004Cd-6F for qemu-devel@nongnu.org; Sun, 18 May 2008 03:49:13 -0400 Received: from [199.232.76.173] (port=46160 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jxddo-0004Ca-UW for qemu-devel@nongnu.org; Sun, 18 May 2008 03:49:12 -0400 Received: from savannah.gnu.org ([199.232.41.3]:45472 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 1Jxddo-0000ey-AW for qemu-devel@nongnu.org; Sun, 18 May 2008 03:49:12 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Jxddi-0004cx-Rf for qemu-devel@nongnu.org; Sun, 18 May 2008 07:49:06 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Jxddi-0004cs-Cg for qemu-devel@nongnu.org; Sun, 18 May 2008 07:49:06 +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: Sun, 18 May 2008 07:49:06 +0000 Subject: [Qemu-devel] [4485] Fix TCG alignment problems on Sparc64 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: 4485 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4485 Author: blueswir1 Date: 2008-05-18 07:49:05 +0000 (Sun, 18 May 2008) Log Message: ----------- Fix TCG alignment problems on Sparc64 host Modified Paths: -------------- trunk/tcg/tcg.h Modified: trunk/tcg/tcg.h =================================================================== --- trunk/tcg/tcg.h 2008-05-18 06:40:16 UTC (rev 4484) +++ trunk/tcg/tcg.h 2008-05-18 07:49:05 UTC (rev 4485) @@ -71,7 +71,7 @@ } TCGRelocation; typedef struct TCGLabel { - int has_value; + long has_value; // long instead of int to enforce alignment union { tcg_target_ulong value; TCGRelocation *first_reloc; @@ -80,7 +80,7 @@ typedef struct TCGPool { struct TCGPool *next; - int size; + long size; // long instead of int to enforce alignment uint8_t data[0]; } TCGPool;