[PATCH] LoongArch: Fix an issue with relocatable vmlinux
Simon Horman
horms at kernel.org
Mon Nov 27 05:47:34 PST 2023
On Fri, Nov 24, 2023 at 04:54:10PM +0800, WANG Rui wrote:
> Normally vmlinux for LoongArch is of ET_EXEC type, while if built with
> CONFIG_RELOCATABLE (this is PIE) and Clang, it will be of ET_DYN type.
> Meanwhile, physical address field of segments in vmlinux has actually
> the same value as virtual address field.
>
> Similar to arm64, this patch allows to unconditionally skip the check
> on LoongArch.
>
> Link: https://github.com/ClangBuiltLinux/linux/issues/1963
> Signed-off-by: WANG Rui <wangrui at loongson.cn>
Thanks, applied.
More information about the kexec
mailing list