diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-05-27 22:25:26 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-09-14 12:12:12 -0400 |
commit | 72bf0bce411d9df0935eb77256604212de8f89cc (patch) | |
tree | 13619f008d289960721f90c78ca64b56f94a78a4 /arch/arm/boot/compressed | |
parent | c6a389f123b9f68d605bb7e0f9b32ec1e3e14132 (diff) |
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>
Diffstat (limited to 'arch/arm/boot/compressed')
-rw-r--r-- | arch/arm/boot/compressed/vmlinux.lds.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/vmlinux.lds.in b/arch/arm/boot/compressed/vmlinux.lds.in index 4e728834a1b9..4919f2ac8b89 100644 --- a/arch/arm/boot/compressed/vmlinux.lds.in +++ b/arch/arm/boot/compressed/vmlinux.lds.in | |||
@@ -51,6 +51,10 @@ SECTIONS | |||
51 | _got_start = .; | 51 | _got_start = .; |
52 | .got : { *(.got) } | 52 | .got : { *(.got) } |
53 | _got_end = .; | 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 | _edata = .; | 58 | _edata = .; |
55 | 59 | ||
56 | . = BSS_START; | 60 | . = BSS_START; |