diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-10-08 20:51:17 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-10-08 20:51:17 +0000 |
commit | f2a4d59359499e63bddab4b14d029a92c8b5a418 (patch) | |
tree | a5171644be5f376c369554b7affe075681a6bf88 /MdePkg/Library/BaseLib/X64/Thunk16.S | |
parent | 02a758cb0b5bc8775d95e0a52acc483f850124a1 (diff) | |
download | edk2-platforms-f2a4d59359499e63bddab4b14d029a92c8b5a418.tar.xz |
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/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 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
|