On Sat, May 30, 2009 at 4:42 PM, Vladimir 'phcoder' Serbinenko
<phco...@gmail.com> wrote:
> Start symbol are required in for .S which are compiled to .img to
> satisfy the linker in Apple's toolchain (perhaps in other toolchains
> too). It shouldn't increase the size of .img
>
> --
> Regards
> Vladimir 'phcoder' Serbinenko
>



-- 
Regards
Vladimir 'phcoder' Serbinenko
diff --git a/boot/i386/pc/boot.S b/boot/i386/pc/boot.S
index 9ccfbca..fc31f5a 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 4fdff76..b62c144 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
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to