Skip to content
BSS segment
EntityQ835876· pop 11· linked from 14 articles

BSS segment

Sign in to save

Also known as .bss

In computer programming, the block starting symbol (abbreviated to .bss or bss) is the portion of an object file, executable, or assembly language code that contains statically allocated variables that are declared but have not been assigned a value yet. It is often referred to as the "bss section" or "bss segment".

~5 min read

Article

5 sections
Contents
  • Origin
  • BSS in C
  • BSS in Fortran
  • See also
  • References

In computer programming, the block starting symbol (abbreviated to .bss or bss) is the portion of an object file, executable, or assembly language code that contains statically allocated variables that are declared but have not been assigned a value yet. It is often referred to as the "bss section" or "bss segment".

Typically only the length of the bss section, but no data, is stored in the object file. The program loader allocates memory for the bss section when it loads the program. By placing variables with no value in the .bss section, instead of the .data or .rodata section which require initial value data, the size of the object file is reduced.

Available in 11 languages

via Wikidata sitelinks · CC0

Connections

Categories