]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/bootsect.S
Fix GCC build error.
[mirror_edk2.git] / DuetPkg / BootSector / bootsect.S
index 336c82bcb6f834725f081f8eb9e8ef1b16e17484..5993a1ac99310cb5875e18431598483b3b486881 100644 (file)
@@ -1,7 +1,7 @@
 #------------------------------------------------------------------------------\r
 #*\r
-#*   Copyright 2006 - 2007, Intel Corporation                                                         \r
-#*   All rights reserved. This program and the accompanying materials                          \r
+#*   Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+#*   This program and the accompanying materials                          \r
 #*   are licensed and made available under the terms and conditions of the BSD License         \r
 #*   which accompanies this distribution.  The full text of the license may be found at        \r
 #*   http://opensource.org/licenses/bsd-license.php                                            \r
@@ -43,7 +43,7 @@
 .equ                      LOADER_FILENAME_PART3, 0x020202020    # "____"\r
 \r
         .org 0x0\r
-ASM_GLOBAL _start\r
+.global _start\r
 _start:\r
 Ia32Jump: \r
   jmp   BootSectorEntryPoint  # JMP inst                  - 3 bytes\r
@@ -129,7 +129,7 @@ BootSectorEntryPoint:
   xorw  %bx, %bx\r
 \r
 FindEFILDR: \r
-       cmpl   $LOADER_FILENAME_PART1, (%di)        # Compare to "EFIL"\r
+  cmpl   $LOADER_FILENAME_PART1, (%di)        # Compare to "EFIL"\r
   jne   FindVARSTORE\r
   cmpl   $LOADER_FILENAME_PART2, 4(%di) \r
   jne   FindVARSTORE\r