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
This commit is contained in:
xli24
2009-05-20 09:42:59 +00:00
parent dedfc3bbc9
commit d5172f911d
89 changed files with 107 additions and 98 deletions

View File

@@ -30,7 +30,7 @@
# IN UINT32 ExchangeValue
# );
#------------------------------------------------------------------------------
.global ASM_PFX(InternalSyncCompareExchange32)
ASM_GLOBAL ASM_PFX(InternalSyncCompareExchange32)
ASM_PFX(InternalSyncCompareExchange32):
mov %edx, %eax
lock cmpxchg %r8d, (%rcx)