-R .comment
(whose long version is --remove-section
) specifies to remove the .comment
section and -S
(--strip-all
) to not copy relocation, symbol and debug information. objcopy -R .comment -S vmlinux arch/x86/boot/compressed/vmlinux.bin
arch/x86/boot/compressed/vmlinux.bin
is a prerequisite for arch/x86/boot/compressed/vmlinux.bin.gz
. arch/x86/boot/compressed/vmlinux.bin
with arch/x86/boot/vmlinux.bin
.