From 2c0bbf43924f4afa08a8f109db4e0e25de11b187 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 12 Mar 2009 05:29:11 +0000 Subject: [PATCH] Fix typos in GCC assembly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7866 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S | 2 +- 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