grub-devel
[Top][All Lists]
Advanced

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

Re: about Apple compiler (Re: [PATCH] access gdtdesc on segment 0 uncond


From: Pavel Roskin
Subject: Re: about Apple compiler (Re: [PATCH] access gdtdesc on segment 0 unconditionally (Re: [PATCH] i386-qemu port))
Date: Mon, 22 Jun 2009 12:10:52 -0400

On Mon, 2009-06-22 at 12:26 +0200, Robert Millan wrote:
> On Sun, Jun 21, 2009 at 09:22:41PM -0400, Pavel Roskin wrote:
> > 
> > Then I guess the Apple compiler won't accepted %ds: either, so if we
> > want to use %ds, we should omit it.
> 
> Btw, it's Apple assembler that matters here.  AFAIK their compiler is GCC.
> 
> I think those checks would need some adjustment, or it'll be a mess when
> we want to support GNU binutils on MacOS.

In most cases, we just want to leave the APPLE_CC version, as it's more
portable.  But we should verify that the same bytecode is generated,
just to be safe.

In many cases, I'd like to see if there is a simpler workaround.
Unfortunately, I don't have access to the Apple compiler.

-- 
Regards,
Pavel Roskin




reply via email to

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