commit | 9a6569a043d336138fca857bc3140fab33a11afc | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng@tinylab.org> | Thu Apr 13 14:20:08 2023 +0800 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Thu Apr 20 20:45:08 2023 +0800 |
tree | 515b536e978f00b2d8b89b3ab9dd92e23fe77de1 | |
parent | 3f37baae83ed7f4879b06cf41214a647228fc72b [diff] |
riscv: Update alignment for some sections in linker scripts Some sections in the linker scripts are aligned to 4 bytes, which may cause misaligned exception on some platforms, e.g.: clearing the bss section on 64-bit hardware if __bss_start does not start from a naturally 8 bytes aligned address. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>