<div dir="ltr">Looks good. Reasonable and safer.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 14, 2020 at 12:10 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Use a far jump to avoid errors like this:<br>
<br>
relocation truncated to fit: R_RISCV_JAL against symbol `boot_card'<br>
---<br>
bsps/riscv/shared/start/start.S | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/bsps/riscv/shared/start/start.S b/bsps/riscv/shared/start/start.S<br>
index a8ff1b079f..04a62a26ce 100644<br>
--- a/bsps/riscv/shared/start/start.S<br>
+++ b/bsps/riscv/shared/start/start.S<br>
@@ -93,7 +93,7 @@ SYM(_start):<br>
#endif<br>
<br>
li a0, 0<br>
- j boot_card<br>
+ tail boot_card<br>
<br>
#ifdef RTEMS_SMP<br>
<br>
-- <br>
2.26.2<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>