bsps/riscv: Workaround for sporadic linker issues

Disable the linker relaxation in start.S to work around an issue described
here:

https://mail.gnu.org/archive/html/bug-binutils/2021-03/msg00164.html

The real issue is probably in the linker command file or the linker itself.

Update #4658.
This commit is contained in:
Sebastian Huber
2022-10-27 14:40:26 +02:00
parent 1eae6f24fe
commit 89ba2a9838

View File

@@ -40,6 +40,7 @@ PUBLIC(_start)
.section .bsp_start_text, "wax", @progbits
.align 2
.option arch, +zicsr
.option norelax
TYPE_FUNC(_start)
SYM(_start):