Bug fix for gnuk.ld.in

This commit is contained in:
NIIBE Yutaka 2010-12-15 11:55:57 +09:00
parent c02397b639
commit 2a3e49f4da
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* src/configure (FLASH_SIZE): Without 'k'. * src/configure (FLASH_SIZE): Without 'k'.
* src/gnuk.ld.in (MEMORY): Append "k" here. * src/gnuk.ld.in (MEMORY): Append "k" here.
(.gnuk_flash): End point should be aligned too.
* src/config.h.in (@PINPAD_DEFINE@): New. * src/config.h.in (@PINPAD_DEFINE@): New.
* src/Makefile.in (@PINPAD_MAKE_OPTION@): New. * src/Makefile.in (@PINPAD_MAKE_OPTION@): New.

View File

@ -130,6 +130,7 @@ SECTIONS
_keystore_pool = .; _keystore_pool = .;
FILL(0xffffffff); FILL(0xffffffff);
. += 512*3; . += 512*3;
. = ALIGN(@FLASH_PAGE_SIZE@);
} > flash } > flash
} }