Index: trunk/i386/boot2/mboot.c =================================================================== --- trunk/i386/boot2/mboot.c (revision 1445) +++ trunk/i386/boot2/mboot.c (revision 1446) @@ -310,7 +310,9 @@ continue_at_low_address(); // Now fix our return address. - FIX_RETURN_ADDRESS_USING_FIRST_ARG(multiboot_magic); + // JrCs: this macro should be rewritten because the code generated by XCode 4.x + // change the value of the argument passed as parameter (multiboot_magic) + // FIX_RETURN_ADDRESS_USING_FIRST_ARG(multiboot_magic); // We can now do just about anything, including return to our caller correctly. // However, our caller must fix his return address if he wishes to return to