diff --git a/ChangeLog b/ChangeLog index 38b8f00..1231e9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2012-05-28 Niibe Yutaka + * src/gnuk.ld.in (.sys): Add alignment settings. + * boards/common/hwinit.c (hwinit0): Define here. * boards/*/board.c (hwinit0): Removed. diff --git a/src/gnuk.ld.in b/src/gnuk.ld.in index 29a1b8c..26506cc 100644 --- a/src/gnuk.ld.in +++ b/src/gnuk.ld.in @@ -56,6 +56,8 @@ SECTIONS sys.o(.text.*) sys.o(.rodata) sys.o(.rodata.*) + . = ALIGN(1024); + *(.sys) } > flash0 .text : ALIGN(16) SUBALIGN(16)