diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-12 05:29:11 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-12 05:29:11 +0000 |
commit | 2c0bbf43924f4afa08a8f109db4e0e25de11b187 (patch) | |
tree | 2b01d36f0756075fe8dbc2ad4552c6fc1c79bdeb /MdePkg/Library/BaseMemoryLibOptDxe | |
parent | 933676058bba13b9d89d9c1cfbc11c016fd55d59 (diff) | |
download | edk2-platforms-2c0bbf43924f4afa08a8f109db4e0e25de11b187.tar.xz |
Fix typos in GCC assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7866 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibOptDxe')
-rw-r--r-- | MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S | 2 | ||||
-rw-r--r-- | MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S b/MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S index fecacc12be..ac67abf6d8 100644 --- a/MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S +++ b/MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S @@ -45,7 +45,7 @@ ASM_PFX(InternalMemCopyMem): mov rax, rdi # rax <- Destination as return value
jae L0 # Copy forward if Source > Destination
cmp r9, rdi # Overlapped?
- jae @CopyBackward # Copy backward if overlapped
+ jae L_CopyBackward # Copy backward if overlapped
L0:
xor rcx, rcx
sub rcx, rdi # rcx <- -rdi
diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S b/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S index 5cadd4c5ee..91e9e88815 100644 --- a/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S +++ b/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S @@ -31,7 +31,7 @@ #------------------------------------------------------------------------------
.intel_syntax noprefix
.globl ASM_PFX(InternalMemSetMem)
-ASM_PFX(InternalMemZeroMem):
+ASM_PFX(InternalMemSetMem):
push rdi
push rbx
push rcx # push Buffer
|