Skip to content
Commit aa0cbc1b authored by WANG Rui's avatar WANG Rui Committed by Huacai Chen
Browse files

LoongArch: Record pc instead of offset in la_abs relocation



To clarify, the previous version functioned flawlessly. However, it's
worth noting that the LLVM's LoongArch backend currently lacks support
for cross-section label calculations. With this patch, we enable the use
of clang to compile relocatable kernels.

Tested-by: default avatarNathan Chancellor <nathan@kernel.org>
Signed-off-by: default avatarWANG Rui <wangrui@loongson.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent cbfd44bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment