From 5b889789b15b8f9594dd569c35dacc4589aa3f52 Mon Sep 17 00:00:00 2001 From: phcoder Date: Thu, 4 Jun 2009 19:35:31 +0000 Subject: [PATCH] 2009-06-04 Vladimir Serbinenko Add missing start symbols * boot/i386/pc/boot.S: add start boot/i386/pc/pxeboot.S: likewise --- ChangeLog | 7 +++++++ boot/i386/pc/boot.S | 4 +++- boot/i386/pc/pxeboot.S | 4 +++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 02008382d..1e53ca4b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-06-04 Vladimir Serbinenko + + Add missing start symbols + + * boot/i386/pc/boot.S: add start + boot/i386/pc/pxeboot.S: likewise + 2009-06-04 Vladimir Serbinenko Fix wrong assumptions with grub-mkimage on EFI diff --git a/boot/i386/pc/boot.S b/boot/i386/pc/boot.S index 9ccfbcaa4..fc31f5a61 100644 --- a/boot/i386/pc/boot.S +++ b/boot/i386/pc/boot.S @@ -40,7 +40,9 @@ in real mode. */ .code16 -.globl _start; _start: +.globl _start, start; +_start: +start: /* * _start is loaded at 0x7c00 and is jumped to with CS:IP 0:0x7c00 */ diff --git a/boot/i386/pc/pxeboot.S b/boot/i386/pc/pxeboot.S index 4fdff764f..b62c1447b 100644 --- a/boot/i386/pc/pxeboot.S +++ b/boot/i386/pc/pxeboot.S @@ -23,7 +23,9 @@ .code16 /* Let's go */ -.globl _start; _start: +.globl start, _start; +_start: +start: /* Root drive will default to boot drive */ movb $0xFF, %dh