]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
MdeModulePkg/DebugSupportDxe: Fix XCODE5 build failure
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / X64 / AsmFuncs.S
index 7f0919ee1b43016d4ea0f1fea8c8f318d04e300f..fcc6838827a65df4ba0df3571e6179ecdb08d2b1 100644 (file)
@@ -1,7 +1,7 @@
 ///**@file\r
 // Low leve x64 specific debug support functions.\r
 //\r
-// Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+// Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
 // Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 // This program and the accompanying materials\r
 // are licensed and made available under the terms and conditions of the BSD License\r
@@ -275,7 +275,7 @@ ExtraPushDone:
                 pushq   %rax\r
                 # CS from application is one entry back in application stack\r
                 movq    ASM_PFX(AppRsp)(%rip), %rax\r
-                movzxw  8(%rax), %rax\r
+                movzwq  8(%rax), %rax\r
                 pushq   %rax\r
 \r
                 mov     %ds, %rax\r