From d5172f911d21d03a3a4f50cb6ebe89854d191e4d Mon Sep 17 00:00:00 2001 From: xli24 Date: Wed, 20 May 2009 09:42:59 +0000 Subject: 1. Remove .extern from GCC assembly. 2. Define macro for .global/.globl in GCC assembly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8344 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/BootSector/bootsect.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DuetPkg/BootSector/bootsect.S') diff --git a/DuetPkg/BootSector/bootsect.S b/DuetPkg/BootSector/bootsect.S index 91a1966c9b..336c82bcb6 100644 --- a/DuetPkg/BootSector/bootsect.S +++ b/DuetPkg/BootSector/bootsect.S @@ -42,8 +42,8 @@ .equ LOADER_FILENAME_PART2, 0x020205244 # "DR__" .equ LOADER_FILENAME_PART3, 0x020202020 # "____" - .org 0x0 -.global _start + .org 0x0 +ASM_GLOBAL _start _start: Ia32Jump: jmp BootSectorEntryPoint # JMP inst - 3 bytes -- cgit v1.2.3