qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/5] Fix i386 Host


From: Johannes Schindelin
Subject: Re: [Qemu-devel] [PATCH 1/5] Fix i386 Host
Date: Fri, 18 Jan 2008 12:42:09 +0000 (GMT)
User-agent: Alpine 1.00 (LSU 882 2007-12-20)

Hi,

On Fri, 18 Jan 2008, Mike Kronenberg wrote:

> I tried it quick and dirty with Alex osx-patch (without exec-all.h part) 
> on a x86_64. everything except ppc-softmmu 
> (/tmp/qemu/target-ppc/exec.h:135:2: error: #endif without #if) compiled 
> fine. I'm going to make some more test and try to use Alex relocation 
> fix on host i386.

I think I have this on top of Alexander's patch (for my current version, 
see 

http://repo.or.cz/w/qemu/dscho.git?a=commitdiff;h=fe49802591f40c7fbdb06e1301bb82dab95f9a74

it even has a "raw" link so you can directly "git am" it):

-- snipsnap --
diff --git a/target-ppc/exec.h b/target-ppc/exec.h
index 0ab4143..3387663 100644
--- a/target-ppc/exec.h
+++ b/target-ppc/exec.h
@@ -38,7 +38,8 @@ register struct CPUPPCState *env asm(AREG0);
 #define T1 (env->t1)
 #define T2 (env->t2)
 #define TDX "%016" PRIx64
-#elif defined(GCC_BREAKS_T_REGISTER)
+#else
+#if defined(GCC_BREAKS_T_REGISTER)
 register unsigned long T0 asm(AREG1);
 register unsigned long T1 asm(AREG2);
 #define T2 (env->t2)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]