qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] CONFIG_MMU_MAP powerpc host support


From: Pierre d'Herbemont
Subject: Re: [Qemu-devel] [PATCH] CONFIG_MMU_MAP powerpc host support
Date: Tue, 28 Dec 2004 12:18:57 +0100


On 28 déc. 04, at 11:04, Daniel Egger wrote:

On 28.12.2004, at 10:55, Pierre d'Herbemont wrote:

But GNU binutils should accept both, so simply changing to the syntax
of the crippled Mac OSX assembler should do the trick.

GNU binutils on Darwin is not a regular thing. By default Apple ships their own binutils, "cctools". And their is no option to switch the syntax used in the cctools, so we'll have to handle both syntax.

Sorry for being unclear. I mean that the syntax should be changed
to the one of cctools because the GNU binutils are supposed to
handle that just fine.

My fault... I didn't pay enough attention to the sentence.

Actually I'm a bit unsure about the displacement syntax but
I know that register names are accepted by GNU binutils and
cctools because I've written quite a lot of AltiVec code
which works on both Linux and MacOSX without any tricks.

Hum, seems to be a good trick... Google search returns the "-mregnames" option. But it seems that it doesn't deal with ha16() or lo16(), so we'll have to deal with it. However I think it is still better than duplicating the PowerPC code.

Pierre.




reply via email to

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