|
From: | Yves Blusseau |
Subject: | Re: Report: compil error on OSX for target=i386 |
Date: | Mon, 31 Aug 2009 23:10:17 +0200 |
What about following compromise: diff --git a/loader/i386/linux.c b/loader/i386/linux.c index 4144384..1380eb8 100644 --- a/loader/i386/linux.c +++ b/loader/i386/linux.c @@ -543,7 +543,8 @@ grub_linux_boot (void) asm volatile ("lgdt %0" : : "m" (gdt_desc)); /* Enter Linux. */ - asm volatile ("jmp *%2" : : "b" (0), "S" (real_mode_mem), "g" (params->code32_start)); + asm volatile ("xorl %%ebx, %%ebx\n" + "jmp *%1" : : "S" (real_mode_mem), "g" (params->code32_start)); #endifIs this compromise acceptable?
Compil and work on OSX. Is it ok to commit it ? Regards, Yves Blusseau
smime.p7s
Description: S/MIME cryptographic signature
[Prev in Thread] | Current Thread | [Next in Thread] |