Hardware/ARMEBS/4/Sections
From UIT
(Difference between revisions)
(One intermediate revision by one user not shown) | |||
Line 7: | Line 7: | ||
8292 1132 2488 11912 2e88 leds | 8292 1132 2488 11912 2e88 leds | ||
</pre> | </pre> | ||
− | |||
text, data, bss, and dec are decimal | text, data, bss, and dec are decimal | ||
Line 15: | Line 14: | ||
* '''text''' includes the sections <code>.text</code> and <code>.isr_vector</code> (<code>.text</code> includes <code>.rodata</code>) | * '''text''' includes the sections <code>.text</code> and <code>.isr_vector</code> (<code>.text</code> includes <code>.rodata</code>) | ||
* '''data''' includes the <code>.data section</code> | * '''data''' includes the <code>.data section</code> | ||
− | * '''bss''' includes <code>.bss</code>, <code>._stack</code>, <code>. | + | * '''bss''' includes <code>.bss</code>, <code>._stack</code>, <code>._heap</code> sections |
+ | |||
+ | Please have a look at [[Languages/C/Sections|standard C sections]]. |
Latest revision as of 14:55, 11 July 2014
At the end of build the eclipse will show memory usage as this
arm-none-eabi-size X text data bss dec hex filename 8292 1132 2488 11912 2e88 leds
text, data, bss, and dec are decimal
hex, is hexadecimal
- text includes the sections
.text
and.isr_vector
(.text
includes.rodata
) - data includes the
.data section
- bss includes
.bss
,._stack
,._heap
sections
Please have a look at standard C sections.