Add nop block to workaround a bug in Apple's AS
PATCH 18/18 Add nop block to workaround a bug in Apple's AS
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko
kern/i386/pc/startup.S +10 -0
@@ -1120,6 +1120,16 @@ 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