Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: zImage: ensure it is always a multiple of 64 bits in size

This is needed for proper alignment when the DTB appending feature
is used.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Dave Martin <dave.martin@linaro.org>
Tested-by: Thomas Abraham <thomas.abraham@linaro.org>

authored by

Nicolas Pitre and committed by
Nicolas Pitre
72bf0bce c6a389f1

+4
+4
arch/arm/boot/compressed/vmlinux.lds.in
··· 51 51 _got_start = .; 52 52 .got : { *(.got) } 53 53 _got_end = .; 54 + 55 + /* ensure the zImage file size is always a multiple of 64 bits */ 56 + /* (without a dummy byte, ld just ignores the empty section) */ 57 + .pad : { BYTE(0); . = ALIGN(8); } 54 58 _edata = .; 55 59 56 60 . = BSS_START;