Skip to content

Commit f6e6e95

Browse files
XiaoWang1772ardbiesheuvel
authored andcommitted
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 <xiao.w.wang@intel.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
1 parent 92faa82 commit f6e6e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/efi/libstub/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ STUBCOPY_RELOC-$(CONFIG_ARM64) := R_AARCH64_ABS
146146

147147
# For RISC-V, we don't need anything special other than arm64. Keep all the
148148
# symbols in .init section and make sure that no absolute symbols references
149-
# doesn't exist.
149+
# exist.
150150
STUBCOPY_FLAGS-$(CONFIG_RISCV) += --prefix-alloc-sections=.init \
151151
--prefix-symbols=__efistub_
152152
STUBCOPY_RELOC-$(CONFIG_RISCV) := R_RISCV_HI20

0 commit comments

Comments
 (0)