commit | 4478727bb8a901e4aa9674a7d7f8993fc8bd58aa | [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 | 604a0c524d0e421c2c92ad1b363e33108c419422 [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>