mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
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:
1 parent
9e7100fb5c
commit
a9966eb11f
2 files changed
+16
No files matched your search
@@ -1120,6 +1120,17 @@ FUNCTION(grub_get_mmap_entry)
|
||||
xnosmap:
|
||||
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:
|
||||
DATA32 call real_to_prot
|
||||
.code32
|
||||
|
||||
Reference in new issue
Block a user