提交 af3da579 编写于 作者: Y Yoshinori Sato

h8300: zImage alignment fix

Missing alignment for .data section.
Sometime bootup failed.
Signed-off-by: NYoshinori Sato <ysato@users.sourceforge.jp>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册