]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/Thunk16.S
Fixed GCC 4.4 build issue due to incorrect prefix. Now using ASM_PFX to correctly...
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / Thunk16.S
index 51798dc224deb3c0b1a716ddb4541e4970176039..84cafa19acc5810b6033984022bec354568b5886 100644 (file)
@@ -262,7 +262,7 @@ ASM_PFX(InternalAsmThunk16):
     movl    %edx,%eax                   # eax <- transition code address\r
     andl    $0xf,%edx\r
     shll    $12,%eax                    # segment address in high order 16 bits\r
-    lea     (_BackFromUserCode - ASM_PFX(m16Start))(%rdx), %ax\r
+    lea     (ASM_PFX(BackFromUserCode) - ASM_PFX(m16Start))(%rdx), %ax\r
     stosl                               # [edi] <- return address of user code\r
     sgdt    0x60(%rsp)                  # save GDT stack in argument space\r
     movzwq  0x60(%rsp), %r10            # r10 <- GDT limit \r