2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
* kern/i386/pc/startup.S [APPLE_CC]: block of nops to compensate a compiler bug
This commit is contained in:
parent
9e7100fb5c
commit
a9966eb11f
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* kern/i386/pc/startup.S [APPLE_CC]: block of nops to
|
||||||
|
compensate a compiler bug
|
||||||
|
|
||||||
2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
|
2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* include/grub/term.h (GRUB_TERM_BACKSPACE): explicitely define as 8
|
* include/grub/term.h (GRUB_TERM_BACKSPACE): explicitely define as 8
|
||||||
|
|
|
@ -1120,6 +1120,17 @@ FUNCTION(grub_get_mmap_entry)
|
||||||
xnosmap:
|
xnosmap:
|
||||||
xorl %ecx, %ecx
|
xorl %ecx, %ecx
|
||||||
|
|
||||||
|
/* Apple's cc jumps few bytes before the correct
|
||||||
|
label in this context. Hence nops. */
|
||||||
|
#ifdef APPLE_CC
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
#endif
|
||||||
|
|
||||||
xsmap:
|
xsmap:
|
||||||
DATA32 call real_to_prot
|
DATA32 call real_to_prot
|
||||||
.code32
|
.code32
|
||||||
|
|
Loading…
Add table
Reference in a new issue