Forráskód Böngészése

h8300: zImage alignment fix

Missing alignment for .data section.
Sometime bootup failed.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Yoshinori Sato 10 éve
szülő
commit
af3da5798d
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      arch/h8300/boot/compressed/vmlinux.lds

+ 2 - 1
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) ;