summaryrefslogtreecommitdiff
path: root/arch/h8300/boot
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-11-15 23:11:09 +0900
committerYoshinori Sato <ysato@users.sourceforge.jp>2016-01-20 22:43:26 +0900
commitaf3da5798d7b9d3dc7412cb5e1d4ed106dcecefc (patch)
tree286f69dde40eaa0713967063fa99fc1582863b13 /arch/h8300/boot
parentc4eb32b1eeec0d9ee5af2d83f21fa7193961f61c (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/boot')
-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
{
*(.rodata)
}
+ . = ALIGN(0x4) ;
.data :
{
@@ -21,9 +22,9 @@ SECTIONS
___data_start = . ;
*(.data.*)
}
+ . = ALIGN(0x4) ;
.bss :
{
- . = ALIGN(0x4) ;
__sbss = . ;
*(.bss*)
. = ALIGN(0x4) ;