[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240306085622.87248-2-cuiyunhui@bytedance.com>
Date: Wed, 6 Mar 2024 16:56:21 +0800
From: Yunhui Cui <cuiyunhui@...edance.com>
To: paul.walmsley@...ive.com,
palmer@...belt.com,
aou@...s.berkeley.edu,
ardb@...nel.org,
cuiyunhui@...edance.com,
xuzhipeng.1973@...edance.com,
alexghiti@...osinc.com,
samitolvanen@...gle.com,
bp@...en8.de,
xiao.w.wang@...el.com,
jan.kiszka@...mens.com,
kirill.shutemov@...ux.intel.com,
nathan@...nel.org,
linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-efi@...r.kernel.org
Subject: [PATCH 2/3] Revert "riscv/efistub: Tighten ELF relocation check"
This reverts commit d2baf8cc82c17459fca019a12348efcf86bfec29.
Signed-off-by: Yunhui Cui <cuiyunhui@...edance.com>
---
drivers/firmware/efi/libstub/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/efi/libstub/Makefile b/drivers/firmware/efi/libstub/Makefile
index 475f37796779..a223bd10564b 100644
--- a/drivers/firmware/efi/libstub/Makefile
+++ b/drivers/firmware/efi/libstub/Makefile
@@ -143,7 +143,7 @@ STUBCOPY_RELOC-$(CONFIG_ARM64) := R_AARCH64_ABS
# exist.
STUBCOPY_FLAGS-$(CONFIG_RISCV) += --prefix-alloc-sections=.init \
--prefix-symbols=__efistub_
-STUBCOPY_RELOC-$(CONFIG_RISCV) := -E R_RISCV_HI20\|R_RISCV_$(BITS)\|R_RISCV_RELAX
+STUBCOPY_RELOC-$(CONFIG_RISCV) := R_RISCV_HI20
# For LoongArch, keep all the symbols in .init section and make sure that no
# absolute symbols references exist.
--
2.20.1
Powered by blists - more mailing lists