forked from Minki/linux
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:
parent
c4eb32b1ee
commit
af3da5798d
@ -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) ;
|
||||
|
Loading…
Reference in New Issue
Block a user