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