On Tue, Jul 30, 2013 at 08:28:14AM +1000, Wayne Uroda wrote:
> Yesterday I was looking at just this and to my surprise there was one extra 
> word allocated to ".noinit". I had never seen this before in all my years, 
> and I was almost filling over it with a pattern to measure my stack usage. My 
> point is that one should add the size of bss and data and noinit to find the 
> statically allocated area, or is this incorrect?

According to this, .noinit is part of .bss, so it's already counted:

    http://www.nongnu.org/avr-libc/user-manual/mem_sections.html

It would be best to check with Peter, but this does appear to be true,
based on a quick test with mspgcc.

Cheers,
Daniel

-- 
Daniel Beer <dlb...@gmail.com>    www.dlbeer.co.nz
IRC: inittab (Freenode)    PGP key: 2048D/160A553B

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to