Commit af3da579 authored by Yoshinori Sato's avatar Yoshinori Sato

h8300: zImage alignment fix

Missing alignment for .data section.
Sometime bootup failed.
Signed-off-by: default avatarYoshinori Sato <ysato@users.sourceforge.jp>
parent c4eb32b1
...@@ -13,6 +13,7 @@ SECTIONS ...@@ -13,6 +13,7 @@ SECTIONS
{ {
*(.rodata) *(.rodata)
} }
. = ALIGN(0x4) ;
.data : .data :
{ {
...@@ -21,9 +22,9 @@ SECTIONS ...@@ -21,9 +22,9 @@ SECTIONS
___data_start = . ; ___data_start = . ;
*(.data.*) *(.data.*)
} }
. = ALIGN(0x4) ;
.bss : .bss :
{ {
. = ALIGN(0x4) ;
__sbss = . ; __sbss = . ;
*(.bss*) *(.bss*)
. = ALIGN(0x4) ; . = ALIGN(0x4) ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment