mirror of https://github.com/acidanthera/audk.git
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:
parent
02a758cb0b
commit
f2a4d59359
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue