]> 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)
commit3700fcd6ead9e924d2fc559f070e9335e6ebad15
treebf46ad2b00a9e6dbcf1ccafb56fdccdb66def2ec
parentc16bb520c139a41af47c03e4d3244db1203091ba
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