initializing the .bss area

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

 



Hi,

I'm writing a custom _start function in assembly. I'm using some old
code as reference. It zeroes out the .bss area. I checked the
disassembly of the generated binary and the bss area contains 0x0 by
default. From what I read online, the bss area contains the
uninitialized variables. If thats the case, isn't it fine to not
explicitly initialize this in the _start?

thanks
JJ

[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