1.Fix .global issue in GAS (EdkT207).
2.Fix Label start with @ (EdkT208). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1610 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.global _InternalMemZeroMem
|
||||
.globl _InternalMemZeroMem
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID *
|
||||
@@ -37,13 +37,13 @@ _InternalMemZeroMem:
|
||||
movl 12(%esp), %ecx
|
||||
movl %ecx, %edx
|
||||
shrl $3, %ecx
|
||||
jz @ZeroBytes
|
||||
jz L_ZeroBytes
|
||||
pxor %mm0, %mm0
|
||||
L0:
|
||||
movq %mm0, (%edi)
|
||||
addl $8, %edi
|
||||
loop L0
|
||||
@ZeroBytes:
|
||||
L_ZeroBytes:
|
||||
andl $7, %edx
|
||||
xorl %eax, %eax
|
||||
movl %edx, %ecx
|
||||
|
Reference in New Issue
Block a user