diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-25 10:05:26 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-25 10:05:26 +0000 |
commit | b7089db12047675e829a74674700b03406c432e6 (patch) | |
tree | 2b8db83dac416cf6a15e1cf7ded7d802348cbc68 /MdePkg/Library/BaseMemoryLibRepStr/Ia32 | |
parent | 1a0d7262b42e2eb283a2927fbc5cff71248a8473 (diff) | |
download | edk2-platforms-b7089db12047675e829a74674700b03406c432e6.tar.xz |
1.Fix .global issue in GAS (EdkT207).
2.Fix Label start with @ (EdkT208).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1610 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibRepStr/Ia32')
11 files changed, 15 insertions, 15 deletions
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.S index 7901b82a44..725367b2f9 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.S +++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.S @@ -27,7 +27,7 @@ # #------------------------------------------------------------------------------ -.global _InternalMemCompareMem +.globl _InternalMemCompareMem #------------------------------------------------------------------------------ # INTN 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 diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.S index 1e83064573..5e65b9667a 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.S +++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.S @@ -27,7 +27,7 @@ # #------------------------------------------------------------------------------ -.global _InternalMemScanMem16 +.globl _InternalMemScanMem16 #------------------------------------------------------------------------------ # CONST VOID * diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.S index b7b93d9c0c..5d46ed2bc1 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.S +++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.S @@ -27,7 +27,7 @@ # #------------------------------------------------------------------------------ -.global _InternalMemScanMem32 +.globl _InternalMemScanMem32 #------------------------------------------------------------------------------ # CONST VOID * diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.S index 6bbb18a334..3ba69650ab 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.S +++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.S @@ -27,7 +27,7 @@ # #------------------------------------------------------------------------------ -.global _InternalMemScanMem64 +.globl _InternalMemScanMem64 #------------------------------------------------------------------------------ # CONST VOID * diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.S index fe678fac26..7a834a5635 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.S +++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.S @@ -27,7 +27,7 @@ # #------------------------------------------------------------------------------ -.global _InternalMemScanMem8 +.globl _InternalMemScanMem8 #------------------------------------------------------------------------------ # CONST VOID * diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.S index 9dbfa284c0..4ddf6c490b 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.S +++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.S @@ -24,7 +24,7 @@ .386: .code: -.global _InternalMemSetMem +.globl _InternalMemSetMem #------------------------------------------------------------------------------ # VOID * diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.S index 23860092af..6e7c136222 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.S +++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.global _InternalMemSetMem16 +.globl _InternalMemSetMem16 #------------------------------------------------------------------------------ # VOID * diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.S index c11214f6d6..455af20573 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.S +++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.global _InternalMemSetMem32 +.globl _InternalMemSetMem32 #------------------------------------------------------------------------------ # VOID * diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.S index c76bbae020..b4afff0fd4 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.S +++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.global _InternalMemSetMem64 +.globl _InternalMemSetMem64 #------------------------------------------------------------------------------ # VOID * diff --git a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.S b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.S index 7a01471ebb..8465d7cf65 100644 --- a/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.S +++ b/MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.S @@ -21,7 +21,7 @@ # #------------------------------------------------------------------------------ -.global _InternalMemZeroMem +.globl _InternalMemZeroMem #------------------------------------------------------------------------------ # VOID * |