diff --git a/ChangeLog b/ChangeLog index 7355a4550..5a7e7871c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-10 Vladimir Serbinenko + + * grub-core/lib/i386/relocator16.S: Fix incorrect use of absolute + address. + 2012-02-10 Vladimir Serbinenko * grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel): diff --git a/grub-core/lib/i386/relocator16.S b/grub-core/lib/i386/relocator16.S index ba8370686..30629dbe1 100644 --- a/grub-core/lib/i386/relocator16.S +++ b/grub-core/lib/i386/relocator16.S @@ -105,7 +105,7 @@ VARIABLE(grub_relocator16_keep_a20_enabled) movw %cs, %ax movw %ax, %ss - leaw EXT_C(grub_relocator16_end) + GRUB_RELOCATOR16_STACK_SIZE, %sp + leaw EXT_C(grub_relocator16_end) - LOCAL(base) + GRUB_RELOCATOR16_STACK_SIZE, %sp /* second, try a BIOS call */ movw $0x2400, %ax