From: Yoshinori Sato Date: Sun, 15 Nov 2015 14:11:09 +0000 (+0900) Subject: h8300: zImage alignment fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=af3da5798d7b9d3dc7412cb5e1d4ed106dcecefc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git h8300: zImage alignment fix Missing alignment for .data section. Sometime bootup failed. Signed-off-by: Yoshinori Sato --- diff --git a/arch/h8300/boot/compressed/vmlinux.lds b/arch/h8300/boot/compressed/vmlinux.lds index c39dc95fbad8..ad848a72fd3f 100644 --- a/arch/h8300/boot/compressed/vmlinux.lds +++ b/arch/h8300/boot/compressed/vmlinux.lds @@ -13,6 +13,7 @@ SECTIONS { *(.rodata) } + . = ALIGN(0x4) ; .data : { @@ -21,9 +22,9 @@ SECTIONS ___data_start = . ; *(.data.*) } + . = ALIGN(0x4) ; .bss : { - . = ALIGN(0x4) ; __sbss = . ; *(.bss*) . = ALIGN(0x4) ;