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
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.global _InternalMemCompareMem
|
||||
.globl _InternalMemCompareMem
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# INTN
|
||||
|
@@ -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
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.global _InternalMemScanMem16
|
||||
.globl _InternalMemScanMem16
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# CONST VOID *
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.global _InternalMemScanMem32
|
||||
.globl _InternalMemScanMem32
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# CONST VOID *
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.global _InternalMemScanMem64
|
||||
.globl _InternalMemScanMem64
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# CONST VOID *
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.global _InternalMemScanMem8
|
||||
.globl _InternalMemScanMem8
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# CONST VOID *
|
||||
|
@@ -24,7 +24,7 @@
|
||||
.386:
|
||||
.code:
|
||||
|
||||
.global _InternalMemSetMem
|
||||
.globl _InternalMemSetMem
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID *
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.global _InternalMemSetMem16
|
||||
.globl _InternalMemSetMem16
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID *
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.global _InternalMemSetMem32
|
||||
.globl _InternalMemSetMem32
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID *
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.global _InternalMemSetMem64
|
||||
.globl _InternalMemSetMem64
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID *
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.global _InternalMemZeroMem
|
||||
.globl _InternalMemZeroMem
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID *
|
||||
|
Reference in New Issue
Block a user