]> err.no Git - linux-2.6/commitdiff
sh: Align .machvec.init section on a 4-byte boundary.
authorTakashi YOSHII <takashi.yoshii.ze@hitachi.com>
Wed, 23 May 2007 03:34:13 +0000 (12:34 +0900)
committerPaul Mundt <lethal@hera.kernel.org>
Fri, 8 Jun 2007 02:43:41 +0000 (02:43 +0000)
.machvec.init can be misaligned with the recent machvec changes,
forcibly align it on the boundary that it expects, as before.

Signed-off-by: Takashi YOSHII <takashi.yoshii.ze@hitachi.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/vmlinux.lds.S

index f437a4f06da43a03393426ad2f3c939730b5a843..992c25ad377fb88d51ed80385bf4fdcf1a695059 100644 (file)
@@ -97,6 +97,7 @@ SECTIONS
   __initramfs_end = .;
 #endif
 
+ . = ALIGN(4);
   __machvec_start = .;
   .machvec.init : { *(.machvec.init) }
   __machvec_end = .;