summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/Thunk16.nasm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/Thunk16.nasm')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/Thunk16.nasm6
1 files changed, 5 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/Thunk16.nasm b/MdePkg/Library/BaseLib/Ia32/Thunk16.nasm
index e8468a3fb..e3d0d4e41 100644
--- a/MdePkg/Library/BaseLib/Ia32/Thunk16.nasm
+++ b/MdePkg/Library/BaseLib/Ia32/Thunk16.nasm
@@ -85,7 +85,11 @@ _BackFromUserCode:
BITS 16
push ss
push cs
-o32 call dword .Base ; push eip
+ ;
+ ; Note: We can't use o32 on the next instruction because of a bug
+ ; in NASM 2.09.04 through 2.10rc1.
+ ;
+ call dword .Base ; push eip
.Base:
pushfd
cli ; disable interrupts