]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/bootsect.S
1. Add GNUmakefile for Linux GCC to build BootSector;
[mirror_edk2.git] / DuetPkg / BootSector / bootsect.S
index edf941bcb36175e6d0af0047ea1b1c3191d48411..d576adb727e8e0c4f08ecb84888bbfc1a043b39f 100644 (file)
@@ -30,7 +30,9 @@
 .equ                      LOADER_FILENAME_PART2, 0x020205244    # "DR__"\r
 .equ                      LOADER_FILENAME_PART3, 0x020202020    # "____"\r
 \r
-        .org 0x0\r
+        .org 0x0
+.global _start
+_start:\r
 Ia32Jump: \r
   jmp   BootSectorEntryPoint  # JMP inst                  - 3 bytes\r
   nop\r