What is BSS section?

The area for global and static variables with no initializer (or zero). Only its size is recorded in the file and it is zero-filled at load time, so it does not enlarge the executable.

Field: Linkers, Loaders & Executables

BSS section in the explanations

Questions that mention BSS section (2)

  1. What is a characteristic of the .bss section?
  2. Of the global variables above, which are generally placed in the .bss section?

Related terms

Address space layout randomization (ASLR) Dynamic linker Dynamic linking Entry point Executable and Linkable Format (ELF) Global offset table Heap memory Linker Linker script Memory fragmentation

Back to the glossary