Re: [PATCH v3 0/2] riscv: switch to relative extable

From: Kefeng Wang
Date: Thu Oct 21 2021 - 20:46:57 EST




On 2021/10/22 0:19, Jisheng Zhang wrote:
From: Jisheng Zhang <jszhang@xxxxxxxxxx>

Similar as other architectures such as arm64, x86 and so on, use
offsets relative to the exception table entry values rather than
absolute addresses for both the exception locationand the fixup.

patch1 consolidates the __ex_table construction, it's a great code
clean up even w/o the 2nd patch.

patch2 does the real job.

Reviewed-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>