summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/pi/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-05-12 16:31:55 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2023-05-12 16:31:55 -0500
commited6a75e3133bca544849b967f7f3233cddb66090 (patch)
treed264f9bc3e4a052c69591dd1d14f12c7b9327425 /arch/riscv/kernel/pi/Makefile
parent47a2ee5d4a0bda05decdda7be0a77e792cdb09a3 (diff)
parent3b90b09af5be42491a8a74a549318cfa265b3029 (diff)
Merge tag 'riscv-for-linus-6.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
Pull RISC-V fix from Palmer Dabbelt: "Just a single fix this week for a build issue. That'd usually be a good sign, but we've started to get some reports of boot failures on some hardware/bootloader configurations. Nothing concrete yet, but I've got a funny feeling that's where much of the bug hunting is going right now. Nothing's reproducing on my end, though, and this fixes some pretty concrete issues so I figured there's no reason to delay it: - a fix to the linker script to avoid orpahaned sections in kernel/pi" * tag 'riscv-for-linus-6.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: riscv: Fix orphan section warnings caused by kernel/pi
Diffstat (limited to 'arch/riscv/kernel/pi/Makefile')
-rw-r--r--arch/riscv/kernel/pi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kernel/pi/Makefile b/arch/riscv/kernel/pi/Makefile
index 5d7cb991f2b8..7b593d44c712 100644
--- a/arch/riscv/kernel/pi/Makefile
+++ b/arch/riscv/kernel/pi/Makefile
@@ -22,7 +22,7 @@ KCOV_INSTRUMENT := n
$(obj)/%.pi.o: OBJCOPYFLAGS := --prefix-symbols=__pi_ \
--remove-section=.note.gnu.property \
- --prefix-alloc-sections=.init
+ --prefix-alloc-sections=.init.pi
$(obj)/%.pi.o: $(obj)/%.o FORCE
$(call if_changed,objcopy)