some compile fixes for powerpc hosts
PATCH 1/1 some compile fixes for powerpc hosts
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
exec.h +1 -1
@@ -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
op.c +2 -0
@@ -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) {