Possible Duplicate:
.bss section in elf file
Hi,
Is BSS(Block started by symbol) part of Program file(a.out). Suppose i have a global variable char buf[2048] declared in my c program. I make an executable out of my c program(a.out). Will the 2048 bytes of buf be part of a.out? Or is the amount of memory needed for buf allocate only during the execution of the program file?
I get confused when the size command shows the memory allocated for text segment, initialized data segment and BSS for the executable(a.out)