Skip to content
Snippets Groups Projects
Commit f6e6e95c authored by Xiao Wang's avatar Xiao Wang Committed by Ard Biesheuvel
Browse files

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: default avatarXiao Wang <xiao.w.wang@intel.com>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 92faa821
No related branches found
No related tags found
No related merge requests found
...@@ -146,7 +146,7 @@ STUBCOPY_RELOC-$(CONFIG_ARM64) := R_AARCH64_ABS ...@@ -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 # 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 # symbols in .init section and make sure that no absolute symbols references
# doesn't exist. # exist.
STUBCOPY_FLAGS-$(CONFIG_RISCV) += --prefix-alloc-sections=.init \ STUBCOPY_FLAGS-$(CONFIG_RISCV) += --prefix-alloc-sections=.init \
--prefix-symbols=__efistub_ --prefix-symbols=__efistub_
STUBCOPY_RELOC-$(CONFIG_RISCV) := R_RISCV_HI20 STUBCOPY_RELOC-$(CONFIG_RISCV) := R_RISCV_HI20
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment