diff options
author | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-16 22:37:03 +0000 |
---|---|---|
committer | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-16 22:37:03 +0000 |
commit | 4e57f2409839ca854c898f2acafa6b893f096f1a (patch) | |
tree | b47821ea5ceade182c2b13f83f3379fea10abf79 /MdePkg/Library/BaseLib/X64/Thunk16.S | |
parent | bc810c8977e97c63f081f35d3ca1b2767282c1a3 (diff) | |
download | edk2-platforms-4e57f2409839ca854c898f2acafa6b893f096f1a.tar.xz |
Fixed GCC 4.4 build issue due to incorrect prefix. Now using ASM_PFX to correctly set the prefix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10377 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/Thunk16.S')
-rw-r--r-- | MdePkg/Library/BaseLib/X64/Thunk16.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/X64/Thunk16.S b/MdePkg/Library/BaseLib/X64/Thunk16.S index 51798dc224..84cafa19ac 100644 --- a/MdePkg/Library/BaseLib/X64/Thunk16.S +++ b/MdePkg/Library/BaseLib/X64/Thunk16.S @@ -262,7 +262,7 @@ ASM_PFX(InternalAsmThunk16): movl %edx,%eax # eax <- transition code address
andl $0xf,%edx
shll $12,%eax # segment address in high order 16 bits
- lea (_BackFromUserCode - ASM_PFX(m16Start))(%rdx), %ax
+ lea (ASM_PFX(BackFromUserCode) - ASM_PFX(m16Start))(%rdx), %ax
stosl # [edi] <- return address of user code
sgdt 0x60(%rsp) # save GDT stack in argument space
movzwq 0x60(%rsp), %r10 # r10 <- GDT limit
|