[PATCH 0/2] riscv: improve __ex_table section handling

From: Jisheng Zhang
Date: Sun Aug 08 2021 - 13:31:55 EST


From: Jisheng Zhang <jszhang@xxxxxxxxxx>

Enable BUILDTIME_TABLE_SORT to sort the exception table at build time
then move exception table to RO_DATA segment.

Jisheng Zhang (2):
riscv: Enable BUILDTIME_TABLE_SORT
riscv: Move EXCEPTION_TABLE to RO_DATA segment

arch/riscv/Kconfig | 1 +
arch/riscv/kernel/vmlinux-xip.lds.S | 1 -
arch/riscv/kernel/vmlinux.lds.S | 4 ++--
scripts/sorttable.c | 1 +
4 files changed, 4 insertions(+), 3 deletions(-)

--
2.32.0