* grub-core/kern/i386/pc/startup.S [__APPLE__]: Add a workaround for

objconv bug.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-29 13:54:33 +02:00
parent 130c0f77d4
commit 84e1569ee4
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-05-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/i386/pc/startup.S [__APPLE__]: Add a workaround for
objconv bug.
2012-05-29 Vladimir Serbinenko <phcoder@gmail.com> 2012-05-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/gdb/i386/machdep.S: Make usable with Apple assembler. * grub-core/gdb/i386/machdep.S: Make usable with Apple assembler.

View file

@ -202,6 +202,10 @@ VARIABLE(grub_realidt)
.long 0 .long 0
#ifdef __APPLE__ #ifdef __APPLE__
/* Older versions of objconv assume that there is the same number
of text and data sections. Hence this dummy. */
.section __TEXT, __zz_dummy
.byte 0
.globl EXT_C(_edata) .globl EXT_C(_edata)
.globl EXT_C(grub_boot_device) .globl EXT_C(grub_boot_device)
.zerofill __DATA, __aa_before_bss, EXT_C(_edata), 1, 0 .zerofill __DATA, __aa_before_bss, EXT_C(_edata), 1, 0