Skip to content

Commit

Permalink
h8300: zImage alignment fix
Browse files Browse the repository at this point in the history
Missing alignment for .data section.
Sometime bootup failed.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
  • Loading branch information
ysat0 committed Jan 20, 2016
1 parent c4eb32b commit af3da57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/h8300/boot/compressed/vmlinux.lds
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ SECTIONS
{
*(.rodata)
}
. = ALIGN(0x4) ;
.data :

{
Expand All @@ -21,9 +22,9 @@ SECTIONS
___data_start = . ;
*(.data.*)
}
. = ALIGN(0x4) ;
.bss :
{
. = ALIGN(0x4) ;
__sbss = . ;
*(.bss*)
. = ALIGN(0x4) ;
Expand Down

0 comments on commit af3da57

Please sign in to comment.