]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/bootsect.S
1. Remove .extern from GCC assembly.
[mirror_edk2.git] / DuetPkg / BootSector / bootsect.S
index 91a1966c9b5cae6088aef11fca57643b94828495..336c82bcb6f834725f081f8eb9e8ef1b16e17484 100644 (file)
@@ -42,8 +42,8 @@
 .equ                      LOADER_FILENAME_PART2, 0x020205244    # "DR__"\r
 .equ                      LOADER_FILENAME_PART3, 0x020202020    # "____"\r
 \r
-        .org 0x0
-.global _start
+        .org 0x0\r
+ASM_GLOBAL _start\r
 _start:\r
 Ia32Jump: \r
   jmp   BootSectorEntryPoint  # JMP inst                  - 3 bytes\r