grub-devel
[Top][All Lists]
Advanced

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

Re: Failed to build grub2


From: Robert Millan
Subject: Re: Failed to build grub2
Date: Wed, 26 Dec 2007 08:17:32 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Tue, Dec 25, 2007 at 07:37:04PM +0800, Bean wrote:
> 
> I use the 32-bit address to save space, maybe your compiler doesn't
> support it. anyway, you can try the following transformation:
> 
> leal  0x200 + data_start - data_next(%ebx,%eax), %eax
> 
> ->
> 
> addl %ebx, %eax
> addl $(0x200 + data_start - data_next), %eax
> 
> -----------
> 
> leal  (%esi, %eax), %esi
> leal  (%edi, %eax), %edi
> 
> ->
> 
> addl %eax, %esi
> addl %eax, %edi

I think it has more to do with the op being "leal" instead of "leaw" than
with the addressing argument having 3 members.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)




reply via email to

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