Bss segment advantage.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
Can anybody explain what is the advantage of using a separate segment(Bss) for uninitialised variables and a seperate segment(data) for initialised variables.Why not have a single segment?

I learnt from the web that "The advantage in using the bss segment for storage that
starts off empty is that the initialization information need
not be stored in the output file."

But i dont understand to which output file they are talking about , and the initialisation information is written to.
Can anybody explain it further ?
Thanks,
Mugunthan

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux