Przeglądaj źródła

sh: Align .machvec.init section on a 4-byte boundary.

.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>
Takashi YOSHII 18 lat temu
rodzic
commit
3a3c60fc0b
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      arch/sh/kernel/vmlinux.lds.S

+ 1 - 0
arch/sh/kernel/vmlinux.lds.S

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