]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S
1.Fix .global issue in GAS (EdkT207).
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibMmx / Ia32 / ZeroMem.S
index f51ce8f98ed0504139e2f4e9345cecd02b9a26d5..8c52a3c950836118d221a6aac2f2f678388696af 100644 (file)
@@ -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