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
This commit is contained in:
andrewfish 2011-10-08 20:51:17 +00:00
parent 02a758cb0b
commit f2a4d59359
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ L_SavedSp: .space 4 # restore stack
_EntryPoint: .long ASM_PFX(ToUserCode) - ASM_PFX(m16Start) _EntryPoint: .long ASM_PFX(ToUserCode) - ASM_PFX(m16Start)
.word CODE16 .word CODE16
_16Gdtr: .word GDT_SIZE - 1 _16Gdtr: .word GDT_SIZE - 1
_16GdtrBase: .quad ASM_PFX(NullSeg) _16GdtrBase: .quad 0
_16Idtr: .word 0x3ff _16Idtr: .word 0x3ff
.long 0 .long 0