This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: G++ static assignment / initialization
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: G++ static assignment / initialization
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Tue, 18 May 1999 22:12:39 -0600
- cc: David Edelsohn <dje at watson dot ibm dot com>, Mark Mitchell <mark at codesourcery dot com>, egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
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