.globl ASM_PFX(StartupAddr)\r
\r
\r
-ASM_PFX(CEntryPointData):\r
- .word ASM_PFX(StartupAddr)\r
+ASM_PFX(StartupAddr): .word ASM_PFX(CEntryPoint)\r
\r
ASM_PFX(_ModuleEntryPoint):\r
\r
\r
// move sec startup address into a data register\r
// ensure we're jumping to FV version of the code (not boot remapped alias)\r
- ldr r5, ASM_PFX(CEntryPointData) // Extra level of indirection fixes Xcode relocation issue\r
- ldr r4, [r5]\r
+ ldr r4, ASM_PFX(StartupAddr) // Extra level of indirection fixes Xcode relocation issue\r
\r
// jump to SEC C code\r
blx r4\r