use a more standard syntax to call _rom_init_data
works around assembler bug in some versions of as.
This commit is contained in:
parent
4035dc44f3
commit
36361e1eb0
1 changed files with 3 additions and 1 deletions
|
@ -121,7 +121,9 @@ _begin:
|
|||
ldr sp, =__sys_stack_top__ /* set the SYS stack pointer */
|
||||
|
||||
#ifdef USE_ROM_VARS
|
||||
bl _rom_data_init+.-base
|
||||
ldr r12,=_rom_data_init
|
||||
mov lr,pc
|
||||
bx r12
|
||||
#endif
|
||||
msr CPSR_c, #(SYS_MODE)
|
||||
|
||||
|
|
Loading…
Reference in a new issue