This is the mail archive of the
mailing list for the GCC project.
Re: 3.3 problem of -fzero-initialized-in-bss w/-ffreestanding
- From: Mark Mitchell <mark at codesourcery dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc at gcc dot gnu dot org, obrien at FreeBSD dot org
- Date: 14 Jul 2003 11:26:32 -0700
- Subject: Re: 3.3 problem of -fzero-initialized-in-bss w/-ffreestanding
- Organization: CodeSourcery, LLC
- References: <20030714173201.GB74108@dragon.nuxi.com> <200307141744.NAA24794@caip.rutgers.edu>
On Mon, 2003-07-14 at 10:44, Kaveh R. Ghazi wrote:
> > From: "David O'Brien" <obrien@FreeBSD.org>
> > GCC 3.3 now has -fzero-initialized-in-bss as the default. That is fine
> > and dandy for userland programs. But it caused a major problem for the
> > FreeBSD kernel when we upgraded from 3.2.2 to 3.3.1 [snapshot].
> > -no-zero-initialized-in-bss should be the default when -ffreestanding is
> > specified -- GCC should not^H^H^Hcannot make assumptions about when BSS
> > zeroing occurs in an -ffreestanding environment.
> > Can this change be made for 3.3.1 release?
> > -- David (obrien@FreeBSD.org)
I think we're past that point in the 3.3.1 release process.
If, however, all of the embedded people think this is the right change,
and there's a nice simple patch, we could consider doing it.
We can certainly do it in 3.3.2.
Mark Mitchell <firstname.lastname@example.org>