h8300: zImage alignment fix

Missing alignment for .data section.
Sometime bootup failed.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
This commit is contained in:
Yoshinori Sato 2015-11-15 23:11:09 +09:00
parent c4eb32b1ee
commit af3da5798d
1 changed files with 2 additions and 1 deletions

View File

@ -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) ;