Re: Initialization of zero globals

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

 



Alexander Grobman <agrobman@xxxxxxxxx> writes:

> Is there any way (an option) to instruct gcc to use
> initializations for global variables, which are not
> declared as initialized? By default GCC places such
> variables to .BSS, but C considers such variables be 0
> before program execution and thus these had to be
> initialized in crt0.

-fno-zero-initialized-in-bss

Ian

[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