.bss Section

Article by:
Date Published:
Last Modified:


The .bss section can be remembered as the “better save space” section. What it actually stands for block started by symbol.

It is a section used by many compilers and linkers (including GCC) to store part of the data segment containing statically-allocated variables that are initialised to 0 on startup in a compiled program.

The .bss section in the compiled object file doesn’t actually consume up any space (because all the memory is initialised to 0), apart from remembering the total size that this section will require at runtime.


Geoffrey Hunter

Dude making stuff.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License .


    comments powered by Disqus