From af3da5798d7b9d3dc7412cb5e1d4ed106dcecefc Mon Sep 17 00:00:00 2001 From: Yoshinori Sato Date: Sun, 15 Nov 2015 23:11:09 +0900 Subject: [PATCH] h8300: zImage alignment fix Missing alignment for .data section. Sometime bootup failed. Signed-off-by: Yoshinori Sato --- arch/h8300/boot/compressed/vmlinux.lds | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/h8300/boot/compressed/vmlinux.lds b/arch/h8300/boot/compressed/vmlinux.lds index c39dc95..ad848a7 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) ; -- 2.7.4