altos: Mark .boot section as (NOLOAD)
authorKeith Packard <keithp@keithp.com>
Sat, 23 Mar 2013 09:17:04 +0000 (02:17 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 8 May 2013 03:16:52 +0000 (20:16 -0700)
commitdb7f17980c303e442f88c8a4168351dbc2c0b1a0
tree7d59ece090b7ec3dfb4134647c6e6366103b0baa
parentefc0898d824ebd0abe0b088ed9a8b40c34623ab7
altos: Mark .boot section as (NOLOAD)

For some reason, the silly linker marks things in section .boot as
data rather than bss, so they'd end up initialized by default. Force
them to be NOLOAD so they preserve values across reboot so that boot
chaining works properly.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/altos-application.ld
src/stm/altos-loader.ld