Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CnJkU-0001tE-8M for qemu-devel@nongnu.org; Sat, 08 Jan 2005 11:47:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CnJkN-0001o7-4a for qemu-devel@nongnu.org; Sat, 08 Jan 2005 11:47:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CnJkN-0001lZ-18 for qemu-devel@nongnu.org; Sat, 08 Jan 2005 11:47:27 -0500 Received: from [212.37.0.170] (helo=mail-slave.dataphone.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CnJOF-0001BR-Jq for qemu-devel@nongnu.org; Sat, 08 Jan 2005 11:24:35 -0500 From: Magnus Damm Message-Id: <20050108162313.14084.72246.83252@kubu> Date: Sat, 8 Jan 2005 17:24:32 +0100 (CET) Subject: [Qemu-devel] [PATCH] some compile fixes for powerpc hosts 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 Cc: Magnus Damm Hello, Here are two pretty basic compile fixes. With them it is almost possible to build i386-softmmu on a ppc host running Linux. / magnus Index: target-i386/exec.h =================================================================== RCS file: /cvsroot/qemu/qemu/target-i386/exec.h,v retrieving revision 1.19 diff -u -r1.19 exec.h --- target-i386/exec.h 6 Jan 2005 20:46:58 -0000 1.19 +++ target-i386/exec.h 8 Jan 2005 16:14:54 -0000 @@ -459,7 +459,7 @@ return temp.d; } -static inline void helper_fstt(CPU86_LDouble f, uint8_t *ptr) +static inline void helper_fstt(CPU86_LDouble f, target_ulong ptr) { CPU86_LDoubleU temp; int e; Index: target-i386/op.c =================================================================== RCS file: /cvsroot/qemu/qemu/target-i386/op.c,v retrieving revision 1.26 diff -u -r1.26 op.c --- target-i386/op.c 6 Jan 2005 20:46:58 -0000 1.26 +++ target-i386/op.c 8 Jan 2005 16:14:55 -0000 @@ -752,10 +752,12 @@ T0 = (int16_t)T0; } +#ifdef TARGET_X86_64 void OPPROTO op_movslq_T0_T0(void) { T0 = (int32_t)T0; } +#endif void OPPROTO op_movzwl_T0_T0(void) {