[Top][All Lists]

[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: Thu, 17 Jan 2008 11:23:08 +0000 (GMT)
User-agent: Alpine 1.00 (LSU 882 2007-12-20)


On Thu, 17 Jan 2008, Alexander Graf wrote:

> This patch is mostly a cleanup of Michael Matz's patch with the ideas 
> that came last time included.

Maybe the patch subject could be "prepare i386 host for gcc4, step 1)?

> Index: qemu/softmmu_header.h
> ===================================================================
> --- qemu.orig/softmmu_header.h
> +++ qemu/softmmu_header.h
> @@ -189,9 +189,11 @@ static inline void glue(glue(st, SUFFIX)
>  #else
>  #error unsupported size
>  #endif
> +                  "pushl %%ecx\n"
>                    "pushl %6\n"
>                    "call %7\n"
>                    "popl %%eax\n"
> +                  "popl %%ecx\n"

Could you guard this so that this code is only included for gcc4?  (I am 
assuming that it is not needed for gcc3, as it worked so far...)

AFAICT the rest is okay, even if it took me (stupidly!) quite some time to 
realize why it is okay for t2 to have different sizes with different 


reply via email to

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