X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FX64%2FThunk16.nasm;h=7c4a8d3e1759f0e22588fe6923af4be2bcabcf40;hb=eabcdf3a3467778f10f3c919e135be531758b5bd;hp=6084fac8c42cf477c008e450c9cdf5323a9aa158;hpb=49d9b71df24a5f598df39afc6c13845e00e8f52b;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/X64/Thunk16.nasm b/MdePkg/Library/BaseLib/X64/Thunk16.nasm index 6084fac8c4..7c4a8d3e17 100644 --- a/MdePkg/Library/BaseLib/X64/Thunk16.nasm +++ b/MdePkg/Library/BaseLib/X64/Thunk16.nasm @@ -83,7 +83,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: push dword 0 ; reserved high order 32 bits of EFlags pushfd