-fzero-initialized-in-bss

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Thu May 6 16:27:00 GMT 2004


 > 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



More information about the Gcc mailing list