as a quick hack use: _edata + sizeof(data) + sizeof(bss) sizeof(XXX) == __XXX_end - __XXX_start
~d On Tuesday 04 February 2003 20:25, Oleg Skydan wrote: > Hi, All ! > > I have a problem with .noinit section. > > I have declared some variables in the next form: > > int __attribute__((section(".noinit, \"wa\", @progbits;"))) var=13; > > Dmitry wrote that _noinit_start should point to the flash > with the initializer values, but it points to the RAM in > my case. Any suggeston ? > > All the best, > Oleg. > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users -- /******************************************************************** ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44 _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314 ********************************************************************/