This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -fzero-initialized-in-bss


 > From: Michael LeBlanc <leblanc@skycomputers.com>
 > 
 > When this change was committed, it included a Makefile mod to turn this 
 > option OFF when compiling the CRT stuff.  Why was that?

It's been a while but as I recall, the CRT stuff had code in it that
relied on switching to the .data section at a certain point.  I could
have perhaps fixed it in the code by changing var = 0 to var = 1, but
don't remember why I didn't.  It's possible the code was a tangle of
ifdefs and I couldn't test all variations.

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]