]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S
1.Fix .global issue in GAS (EdkT207).
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibRepStr / Ia32 / CopyMem.S
index 42695b28c4cf23d16a6fcecb7d8f4bfc503489bf..a95b33759c3aced3d898e7263394d2cfa0aa76a1 100644 (file)
@@ -21,7 +21,7 @@
 #
 #------------------------------------------------------------------------------
 
-.global _InternalMemCopyMem
+.globl _InternalMemCopyMem
 
 #------------------------------------------------------------------------------
 #  VOID *
@@ -42,19 +42,19 @@ _InternalMemCopyMem:
     cmpl    %edi, %esi
     jae     L0
     cmpl    %edi, %eax
-    jae     @CopyBackward               # Copy backward if overlapped
+    jae     L_CopyBackward              # Copy backward if overlapped
 L0:
     movl    %edx, %ecx
     andl    $3, %edx
     shrl    $2, %ecx
     rep
     movsl                               # Copy as many Dwords as possible
-    jmp     @CopyBytes
-@CopyBackward:
+    jmp     L_CopyBytes
+L_CopyBackward:
     movl    %eax, %esi                  # esi <- End of Source
     leal    -1(%edi, %edx), %edi        # edi <- End of Destination
     std
-@CopyBytes:
+L_CopyBytes:
     movl    %edx, %ecx
     rep
     movsb                               # Copy bytes backward