zephyr/arch/arm
Sebastian Bøe 1765276000 arch: arm: Use BL instead of B to jump to _PrepC
The __reset vector is using the 'b' instruction to jump to _PrepC. 'b'
can only jump 2KB on Cortex-M0 platforms so this causes build failures
when _PrepC happens to be too far away from __reset.

To resolve this we use 'bl' instead as it can jump two thousand times
further[0].

This can also be resolved by porting the reset vector to C or by
placing the _PrepC function in a dedicated section that the linker
places next to __reset.

[0] http://infocenter.arm.com/help/topic/com.arm.doc.dui0489e/Cihfddaf.html

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-09-19 09:13:50 -04:00
..
core arch: arm: Use BL instead of B to jump to _PrepC 2018-09-19 09:13:50 -04:00
include headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
CMakeLists.txt arm: soc: move arm SoCs to top-dir 2018-09-13 00:56:48 -04:00
Kconfig kconfig: move soc selection to ZEPHYR_BASE/soc/ 2018-09-13 00:56:48 -04:00
defconfig arm: systick: Some SoCs do not have systick 2016-11-27 19:39:26 +00:00