From: Xiao Wang Date: Thu, 3 Aug 2023 05:56:11 +0000 (+0800) Subject: efi/riscv: libstub: Fix comment about absolute relocation X-Git-Tag: v6.6.7~2108^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6e6e95ce16205025b7b8680a66c30a0c4ec2270;p=platform%2Fkernel%2Flinux-starfive.git efi/riscv: libstub: Fix comment about absolute relocation We don't want absolute symbols references in the stub, so fix the double negation in the comment. Signed-off-by: Xiao Wang Signed-off-by: Ard Biesheuvel --- diff --git a/drivers/firmware/efi/libstub/Makefile b/drivers/firmware/efi/libstub/Makefile index 16d64a3..6f74c7e 100644 --- a/drivers/firmware/efi/libstub/Makefile +++ b/drivers/firmware/efi/libstub/Makefile @@ -146,7 +146,7 @@ STUBCOPY_RELOC-$(CONFIG_ARM64) := R_AARCH64_ABS # For RISC-V, we don't need anything special other than arm64. Keep all the # symbols in .init section and make sure that no absolute symbols references -# doesn't exist. +# exist. STUBCOPY_FLAGS-$(CONFIG_RISCV) += --prefix-alloc-sections=.init \ --prefix-symbols=__efistub_ STUBCOPY_RELOC-$(CONFIG_RISCV) := R_RISCV_HI20