summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/pi/Makefile
diff options
context:
space:
mode:
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)