aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.vmlinux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-12 14:16:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-12 14:16:34 +0200
commitf27ae3a6cebc18a864e1dbee98c9e6c12e72b526 (patch)
treed849692ee9521805b43bbec9df395d26b72848e0 /scripts/Makefile.vmlinux
parentfirmware_loader: use SHA-256 library API instead of crypto_shash API (diff)
parentLinux 6.15-rc6 (diff)
downloadlinux-f27ae3a6cebc18a864e1dbee98c9e6c12e72b526.tar.gz
linux-f27ae3a6cebc18a864e1dbee98c9e6c12e72b526.zip
Merge 6.15-rc6 into driver-core-next
We need the driver core fix in here as well for testing 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)