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