summaryrefslogtreecommitdiff
path: root/scripts/Makefile.vmlinux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-13 08:26:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-13 08:26:58 +0200
commitab6dc9a6c721c2eed867c157447764ae68ff9b7e (patch)
tree11771088cbeaaf7992d9c3729eb30169fdf4c760 /scripts/Makefile.vmlinux
parent588d032e9e566997db3213dee145dbe3bda297b6 (diff)
parent82f2b0b97b36ee3fcddf0f0780a9a0825d52fec3 (diff)
downloadlinux-next-ab6dc9a6c721c2eed867c157447764ae68ff9b7e.tar.gz
linux-next-ab6dc9a6c721c2eed867c157447764ae68ff9b7e.zip
Merge 6.15-rc6 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.vmlinux')
-rw-r--r--scripts/Makefile.vmlinux2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.vmlinux b/scripts/Makefile.vmlinux
index b0a6cd5b818c..85d60d986401 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)