forked from Imagelibrary/rtems
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:
@@ -40,6 +40,7 @@ PUBLIC(_start)
|
||||
.section .bsp_start_text, "wax", @progbits
|
||||
.align 2
|
||||
.option arch, +zicsr
|
||||
.option norelax
|
||||
|
||||
TYPE_FUNC(_start)
|
||||
SYM(_start):
|
||||
|
||||
Reference in New Issue
Block a user