mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-04-06 11:38:12 +00:00
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
@ -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…
x
Reference in New Issue
Block a user