From 37bb97fe9a096007b6e023df59448a7574b674d4 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Fri, 10 Feb 2012 14:47:06 +0100 Subject: [PATCH] * grub-core/lib/i386/relocator16.S: Fix incorrect use of absolute address. --- ChangeLog | 5 +++++ grub-core/lib/i386/relocator16.S | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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