Data initialization

Robert-Margaret Hunt robert-margaret_hunt@sil.org
Sun Apr 8 12:12:00 GMT 2001


Hi,

I am trying to use the AVR version of binutils. However I can't
see how to make the linker script put the data initialization
somewhere. For instance I have a program with data, obviously that
data is meant to be stored in ram but I want to store the
initialization of it in eeprom (this works nicely since many AVR's
have the same amount of eeprom and ram). I know I can do this
using a linker script but I can't see how and can't find any
documentation about how to do it either.

Thanks,
Jonathan Hunt
<jhuntnz@users.sourceforge.net>



More information about the Binutils mailing list