Re: Why .bss is not of size 0?

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

 



* Peng Yu via Gcc-help:

> I see .bss is of size 000004. I don't quite understand it. Since it is
> of type NOBITS, shouldn't it contains nothing? Why it is not of size
> zero? Thanks.

The link editor needs to allocate address space for it.  This shifts
around other sections, so the section size has an observable effect.

Thanks,
Florian




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux