summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/CpuIdEx.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/EnablePaging64.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/MultU64x32.S2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/RShiftU64.S2
5 files changed, 5 insertions, 5 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S b/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S
index 67b54926d6..0d34c56162 100644
--- a/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S
+++ b/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
- .686:
+
.code:
#------------------------------------------------------------------------------
diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S b/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S
index 44fedc0ffb..f4df094195 100644
--- a/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S
+++ b/MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S
@@ -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)
diff --git a/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S b/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S
index 3adf55a08a..08950ce0e2 100644
--- a/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S
+++ b/MdePkg/Library/BaseLib/Ia32/EnablePaging64.S
@@ -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
diff --git a/MdePkg/Library/BaseLib/Ia32/MultU64x32.S b/MdePkg/Library/BaseLib/Ia32/MultU64x32.S
index b74fbfc4f2..8e3f6f5560 100644
--- a/MdePkg/Library/BaseLib/Ia32/MultU64x32.S
+++ b/MdePkg/Library/BaseLib/Ia32/MultU64x32.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
- .386:
+
.code:
ASM_GLOBAL ASM_PFX(InternalMathMultU64x32)
diff --git a/MdePkg/Library/BaseLib/Ia32/RShiftU64.S b/MdePkg/Library/BaseLib/Ia32/RShiftU64.S
index c12489ff45..17cdedb212 100644
--- a/MdePkg/Library/BaseLib/Ia32/RShiftU64.S
+++ b/MdePkg/Library/BaseLib/Ia32/RShiftU64.S
@@ -19,7 +19,7 @@
#
#------------------------------------------------------------------------------
- .686:
+
.code:
ASM_GLOBAL ASM_PFX(InternalMathRShiftU64)