linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] riscv: improve __ex_table section handling
@ 2021-08-26 14:09 Jisheng Zhang
  2021-08-26 14:10 ` [PATCH v2 1/2] riscv: Enable BUILDTIME_TABLE_SORT Jisheng Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jisheng Zhang @ 2021-08-26 14:09 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou; +Cc: linux-riscv, linux-kernel

From: Jisheng Zhang <jszhang@kernel.org>

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

Since v1:
  - Only enable BUILDTIME_TABLE_SORT for MMU. Thank Palmer for catching
    tinyconfig case.

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-11  7:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-26 14:09 [PATCH v2 0/2] riscv: improve __ex_table section handling Jisheng Zhang
2021-08-26 14:10 ` [PATCH v2 1/2] riscv: Enable BUILDTIME_TABLE_SORT Jisheng Zhang
2021-08-26 14:11 ` [PATCH v2 2/2] riscv: Move EXCEPTION_TABLE to RO_DATA segment Jisheng Zhang
2021-09-11  7:10 ` [PATCH v2 0/2] riscv: improve __ex_table section handling Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).