aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
authorGeert Uytterhoeven <geert@linux-m68k.org>2025-05-12 12:59:22 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2025-05-12 12:59:22 +0200
commitfbf8beff38ad9cf4670150226d0ec203d4978966 (patch)
tree779920bac11a04f8908dc286b9322d0503d49727 /scripts
parent89273040247743b04ab6f536e47d90ad77d6cde1 (diff)
parent82f2b0b97b36ee3fcddf0f0780a9a0825d52fec3 (diff)
downloadlinux-m68k-master.tar.gz
Merge tag 'v6.15-rc6'HEADmaster
Linux 6.15-rc6
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.vmlinux2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.vmlinux b/scripts/Makefile.vmlinux
index b0a6cd5b818c9f..85d60d98640169 100644
--- a/scripts/Makefile.vmlinux
+++ b/scripts/Makefile.vmlinux
@@ -13,7 +13,7 @@ ifdef CONFIG_ARCH_VMLINUX_NEEDS_RELOCS
vmlinux-final := vmlinux.unstripped
quiet_cmd_strip_relocs = RSTRIP $@
- cmd_strip_relocs = $(OBJCOPY) --remove-section='.rel*' $< $@
+ cmd_strip_relocs = $(OBJCOPY) --remove-section='.rel*' --remove-section=!'.rel*.dyn' $< $@
vmlinux: $(vmlinux-final) FORCE
$(call if_changed,strip_relocs)