Skip to content
Snippets Groups Projects
Commit e50beea8 authored by Helge Deller's avatar Helge Deller
Browse files

parisc: Strip debug info from kernel before creating compressed vmlinuz


Same as on x86-64, strip the .comment, .note and debug sections from the
Linux kernel before creating the compressed image for the boot loader.

Reported-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
Reported-by: default avatarSven Schnelle <svens@stackframe.org>
Cc: stable@vger.kernel.org # v4.20+
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 3fe6c873
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,8 @@ $(obj)/misc.o: $(obj)/sizes.h
CPPFLAGS_vmlinux.lds += -I$(objtree)/$(obj) -DBOOTLOADER
$(obj)/vmlinux.lds: $(obj)/sizes.h
$(obj)/vmlinux.bin: vmlinux
OBJCOPYFLAGS_vmlinux.bin := -R .comment -R .note -S
$(obj)/vmlinux.bin: vmlinux FORCE
$(call if_changed,objcopy)
vmlinux.bin.all-y := $(obj)/vmlinux.bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment