This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: wrong initialized global variable (in the wrong section: .bss instead of .data)
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Virgil Anuichi <vanuichi at yahoo dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 10 Feb 2005 08:48:45 +1030
- Subject: Re: wrong initialized global variable (in the wrong section: .bss instead of .data)
- References: <20050209202653.62937.qmail@web21006.mail.yahoo.com>
On Wed, Feb 09, 2005 at 12:26:53PM -0800, Virgil Anuichi wrote:
> Right now all my initialized global variables end up
> in the .bss section, which is wrong.
Is the initialization zero? gcc -fno-zero-initialized-in-bss
--
Alan Modra
IBM OzLabs - Linux Technology Centre