aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-11-15 09:11:09 -0500
committerYoshinori Sato <ysato@users.sourceforge.jp>2016-01-20 08:43:26 -0500
commitaf3da5798d7b9d3dc7412cb5e1d4ed106dcecefc (patch)
tree286f69dde40eaa0713967063fa99fc1582863b13
parentc4eb32b1eeec0d9ee5af2d83f21fa7193961f61c (diff)
h8300: zImage alignment fix
Missing alignment for .data section. Sometime bootup failed. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
-rw-r--r--arch/h8300/boot/compressed/vmlinux.lds3
1 files changed, 2 insertions, 1 deletions
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
13 { 13 {
14 *(.rodata) 14 *(.rodata)
15 } 15 }
16 . = ALIGN(0x4) ;
16 .data : 17 .data :
17 18
18 { 19 {
@@ -21,9 +22,9 @@ SECTIONS
21 ___data_start = . ; 22 ___data_start = . ;
22 *(.data.*) 23 *(.data.*)
23 } 24 }
25 . = ALIGN(0x4) ;
24 .bss : 26 .bss :
25 { 27 {
26 . = ALIGN(0x4) ;
27 __sbss = . ; 28 __sbss = . ;
28 *(.bss*) 29 *(.bss*)
29 . = ALIGN(0x4) ; 30 . = ALIGN(0x4) ;