summaryrefslogtreecommitdiffstats
path: root/arch/h8300/boot/compressed/vmlinux.lds
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-11-15 15:11:09 +0100
committerYoshinori Sato <ysato@users.sourceforge.jp>2016-01-20 14:43:26 +0100
commitaf3da5798d7b9d3dc7412cb5e1d4ed106dcecefc (patch)
tree286f69dde40eaa0713967063fa99fc1582863b13 /arch/h8300/boot/compressed/vmlinux.lds
parentclk: h8300: Remove "sh73a0-" part from compatible value (diff)
downloadlinux-af3da5798d7b9d3dc7412cb5e1d4ed106dcecefc.tar.xz
linux-af3da5798d7b9d3dc7412cb5e1d4ed106dcecefc.zip
h8300: zImage alignment fix
Missing alignment for .data section. Sometime bootup failed. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/boot/compressed/vmlinux.lds')
-rw-r--r--arch/h8300/boot/compressed/vmlinux.lds3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/h8300/boot/compressed/vmlinux.lds b/arch/h8300/boot/compressed/vmlinux.lds
index c39dc95fbad8..ad848a72fd3f 100644
--- a/arch/h8300/boot/compressed/vmlinux.lds
+++ b/arch/h8300/boot/compressed/vmlinux.lds
@@ -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) ;