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]

Re: G++ static assignment / initialization



  In message <u9lnel7lg6.fsf@yorick.cygnus.com>you write:
  > >>>>> Jeffrey A Law <law@upchuck.cygnus.com> writes:
  > 
  >  >   In message <9905182115.AA27060@marc.watson.ibm.com>you write:
  >  >> 	On a related note, G++ always seems to use initialized data and
  >  >> not BSS common even for zero-filled, uninitialized symbols.
  > 
  >  > I believe this is mandated by the language.  There was a long discussion
  >  > about this in the past (gcc2 era).  
  > 
  > That only means we can't use common.  We can still use bss.
Right.  I think I remember several ports needed some tweaking to handle bss,
but not common symbols.  Maybe the work was never done for the PPC (or I'm
getting confused with some other issue :-)

jeff


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