diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-10-27 14:40:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-10-28 14:05:02 +0200 |
commit | 89ba2a9838558841c4f38283e84b99173790d61c (patch) | |
tree | f4abd0a9cf13018bae6fb983ca2e71eccffec161 | |
parent | bsps/arm: fix Cortex-M7 systick reload value (diff) | |
download | rtems-89ba2a9838558841c4f38283e84b99173790d61c.tar.bz2 |
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.
-rw-r--r-- | bsps/riscv/shared/start/start.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bsps/riscv/shared/start/start.S b/bsps/riscv/shared/start/start.S index 47bb485847..0b9c96c5a2 100644 --- a/bsps/riscv/shared/start/start.S +++ b/bsps/riscv/shared/start/start.S @@ -40,6 +40,7 @@ PUBLIC(_start) .section .bsp_start_text, "wax", @progbits .align 2 .option arch, +zicsr + .option norelax TYPE_FUNC(_start) SYM(_start): |