Fix minor Xcode build issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11348 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -17,21 +17,21 @@
|
||||
|
||||
#start of the code section
|
||||
.text
|
||||
.align 5
|
||||
|
||||
.align 5
|
||||
|
||||
# IMPORT
|
||||
GCC_ASM_IMPORT(SecCommonExceptionEntry)
|
||||
|
||||
# EXPORT
|
||||
GCC_ASM_EXPORT(SecVectorTable)
|
||||
|
||||
|
||||
//============================================================
|
||||
//Default Exception Handlers
|
||||
//============================================================
|
||||
|
||||
//FIXME: One of the EDK2 tool is broken. It does not look to respect the alignment. Even, if we specify 32-byte alignment for this file.
|
||||
Dummy1: .word 0
|
||||
Dummy2: .word 0
|
||||
Dummy1: .word 0
|
||||
Dummy2: .word 0
|
||||
|
||||
ASM_PFX(SecVectorTable):
|
||||
b _DefaultResetHandler
|
||||
@@ -102,5 +102,5 @@ _DefaultFiq:
|
||||
cps #0x13
|
||||
mov r0, #7
|
||||
blx SecCommonExceptionEntry
|
||||
|
||||
.end
|
||||
|
||||
|
||||
|
@@ -69,6 +69,6 @@ ASM_PFX(copy_cpsr_into_spsr):
|
||||
bx lr
|
||||
|
||||
dead:
|
||||
B dead
|
||||
b dead
|
||||
|
||||
.end
|
||||
ASM_FUNCTION_REMOVE_IF_UNREFERENCED
|
||||
|
@@ -41,8 +41,8 @@ GCC_ASM_IMPORT(SecVectorTable)
|
||||
GCC_ASM_IMPORT(ArmIsScuEnable)
|
||||
#endif
|
||||
|
||||
StartupAddr: .word CEntryPoint
|
||||
SecVectorTableAddr: .word SecVectorTable
|
||||
StartupAddr: .word ASM_PFX(CEntryPoint)
|
||||
SecVectorTableAddr: .word ASM_PFX(SecVectorTable)
|
||||
|
||||
ASM_PFX(_ModuleEntryPoint):
|
||||
#Set VBAR to the start of the exception vectors in Secure Mode
|
||||
@@ -109,4 +109,4 @@ _SetupStack:
|
||||
# r0 = core_id
|
||||
blx r3
|
||||
|
||||
.end
|
||||
|
||||
|
Reference in New Issue
Block a user