MdePkg: Fix Clang build failure
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gao, Liming <liming.gao@intel.com> Reviewed-by: Andrew Fish <afish@apple.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15784 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.686:
|
||||
|
||||
.code:
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@@ -37,7 +37,7 @@ ASM_PFX(InternalMathDivRemU64x64):
|
||||
jnz Hard # call _@DivRemU64x64 if Divisor > 2^32
|
||||
movl 20(%esp), %ecx
|
||||
jecxz L1
|
||||
and $0, 4(%ecx) # zero high dword of remainder
|
||||
andl $0, 4(%ecx) # zero high dword of remainder
|
||||
movl %ecx, 16(%esp) # set up stack frame to match DivRemU64x32
|
||||
L1:
|
||||
jmp ASM_PFX(InternalMathDivRemU64x32)
|
||||
|
@@ -58,6 +58,6 @@ LongStart: # long mode starts here
|
||||
.byte 0x67, 0x48
|
||||
movl 0x18(%esp), %esp # mov rsp, [esp + 18h]
|
||||
.byte 0x48
|
||||
addl $0x-0x20, %esp # add rsp, -20h
|
||||
addl $-0x20, %esp # add rsp, -20h
|
||||
call *%ebx # call rbx
|
||||
jmp . # no one should get here
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.386:
|
||||
|
||||
.code:
|
||||
|
||||
ASM_GLOBAL ASM_PFX(InternalMathMultU64x32)
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.686:
|
||||
|
||||
.code:
|
||||
|
||||
ASM_GLOBAL ASM_PFX(InternalMathRShiftU64)
|
||||
|
Reference in New Issue
Block a user