summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-10-08 20:51:17 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-10-08 20:51:17 +0000
commitf2a4d59359499e63bddab4b14d029a92c8b5a418 (patch)
treea5171644be5f376c369554b7affe075681a6bf88 /MdePkg
parent02a758cb0b5bc8775d95e0a52acc483f850124a1 (diff)
downloadedk2-f2a4d59359499e63bddab4b14d029a92c8b5a418.tar.gz
edk2-f2a4d59359499e63bddab4b14d029a92c8b5a418.tar.bz2
edk2-f2a4d59359499e63bddab4b14d029a92c8b5a418.zip
Fix Xcode link failure. Relocations are not supported in .text sections.
Per Rui's review of the patch _16GdtrBase is a label that is patched by C code so it does require initialization. approved-by: andrewfish reviewed-by: jljusten reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12515 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseLib/X64/Thunk16.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/X64/Thunk16.S b/MdePkg/Library/BaseLib/X64/Thunk16.S
index 54753168c8..4c3c5605fa 100644
--- a/MdePkg/Library/BaseLib/X64/Thunk16.S
+++ b/MdePkg/Library/BaseLib/X64/Thunk16.S
@@ -153,7 +153,7 @@ L_SavedSp: .space 4 # restore stack
_EntryPoint: .long ASM_PFX(ToUserCode) - ASM_PFX(m16Start)
.word CODE16
_16Gdtr: .word GDT_SIZE - 1
-_16GdtrBase: .quad ASM_PFX(NullSeg)
+_16GdtrBase: .quad 0
_16Idtr: .word 0x3ff
.long 0