summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S')
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S
index 42695b28c4..a95b33759c 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S
@@ -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