[PATCH] arm: Use bl for the boot_start_hook_0 calls to avoid JUMP11 calls.
chrisj at rtems.org
chrisj at rtems.org
Tue Nov 20 09:32:16 UTC 2018
From: Chris Johns <chrisj at rtems.org>
---
bsps/arm/shared/start/start.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S
index e4df46f656..f9f2baec32 100644
--- a/bsps/arm/shared/start/start.S
+++ b/bsps/arm/shared/start/start.S
@@ -302,7 +302,7 @@ bsp_start_skip_hyp_svc_switch:
mov r1, r5 /* machine type number or ~0 for DT boot */
mov r2, r6 /* physical address of ATAGs or DTB */
- b bsp_start_hook_0
+ bl bsp_start_hook_0
bsp_start_hook_0_done:
@@ -406,7 +406,7 @@ _start:
ldr sp, =_ISR_Stack_area_end
ldr lr, =bsp_start_hook_0_done + 1
- b bsp_start_hook_0
+ bl bsp_start_hook_0
bsp_start_hook_0_done:
--
2.14.1
More information about the devel
mailing list