Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LoongArch: Fix an issue with relocatable vmlinux
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: ClangBuiltLinux/linux#1963 Signed-off-by: WANG Rui <[email protected]> Reviewed-by: Huacai Chen <[email protected]> Signed-off-by: Simon Horman <[email protected]>
- Loading branch information