top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is BSS(Block Started by Symbol) in Unix based operating system?

+1 vote
787 views
What is BSS(Block Started by Symbol) in Unix based operating system?
posted Jan 13, 2016 by Jayshree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

A data representation at the machine level, that has initial values when a program starts and tells about how much space the kernel allocates for the un-initialized data. Kernel initializes it to zero at run-time.

answer Jan 13, 2016 by Shivaranjini
0 votes

As the name suggest this segment of Process contains only name and size but not the value as value of the symbol is supposed to be zero.

BSS is used by many compilers and linkers for a part of the data segment containing statically-allocated variables represented solely by zero-valued bits initially (i.e., when execution begins). It is often referred to as "BSS segment".

Typically only the length of the BSS section, but no data, is stored in the object file. The program loader allocates and initializes memory for the BSS section when it loads the program. Operating systems may use a technique called zero-fill-on-demand to efficiently implement the BSS segment.

answer Jan 13, 2016 by Salil Agrawal
...