diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2015-11-15 23:11:09 +0900 |
---|---|---|
committer | Yoshinori Sato <ysato@users.sourceforge.jp> | 2016-01-20 22:43:26 +0900 |
commit | af3da5798d7b9d3dc7412cb5e1d4ed106dcecefc (patch) | |
tree | 286f69dde40eaa0713967063fa99fc1582863b13 /arch/h8300 | |
parent | c4eb32b1eeec0d9ee5af2d83f21fa7193961f61c (diff) |
h8300: zImage alignment fix
Missing alignment for .data section.
Sometime bootup failed.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300')
-rw-r--r-- | arch/h8300/boot/compressed/vmlinux.lds | 3 |
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 { *(.rodata) } + . = ALIGN(0x4) ; .data : { @@ -21,9 +22,9 @@ SECTIONS ___data_start = . ; *(.data.*) } + . = ALIGN(0x4) ; .bss : { - . = ALIGN(0x4) ; __sbss = . ; *(.bss*) . = ALIGN(0x4) ; |