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

LoongArch: Calculate various sizes in the linker script



Taking the address delta between symbols in different sections is not
supported by the LLVM IAS. Instead, do this in the linker script, so
the same data can be properly referenced in assembly.

Signed-off-by: default avatarWANG Rui <wangrui@loongson.cn>
Signed-off-by: default avatarWANG Xuerui <git@xen0n.name>
[chenhuacai: Fix build with !CONFIG_EFI_STUB]
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 0d03e9dc
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