]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Move EXCEPTION_TABLE to RO_DATA segment
authorJisheng Zhang <jszhang@kernel.org>
Thu, 26 Aug 2021 14:11:18 +0000 (22:11 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sat, 11 Sep 2021 06:59:48 +0000 (23:59 -0700)
commit1bb5808ac985de1eec9c574ee8f47f3b40b39671
treebf46ad2b00a9e6dbcf1ccafb56fdccdb66def2ec
parent301452b85f754eac0824796386ebc4652adda83b
riscv: Move EXCEPTION_TABLE to RO_DATA segment

_ex_table section is read-only, so move it to RO_DATA.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/vmlinux-xip.lds.S
arch/riscv/kernel/vmlinux.lds.S