From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3753 invoked by alias); 9 Feb 2005 22:18:53 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 3729 invoked from network); 9 Feb 2005 22:18:47 -0000 Received: from unknown (HELO gizmo05bw.bigpond.com) (144.140.70.40) by sourceware.org with SMTP; 9 Feb 2005 22:18:47 -0000 Received: (qmail 455 invoked from network); 9 Feb 2005 22:18:45 -0000 Received: from unknown (HELO bwmam12.bigpond.com) (144.135.24.103) by gizmo05bw.bigpond.com with SMTP; 9 Feb 2005 22:18:45 -0000 Received: from cpe-144-136-221-26.sa.bigpond.net.au ([144.136.221.26]) by bwmam12.bigpond.com(MAM REL_3_4_2a 189/71022361) with SMTP id 71022361; Thu, 10 Feb 2005 08:18:45 +1000 Received: by bubble.modra.org (Postfix, from userid 500) id A286010CFCF; Thu, 10 Feb 2005 08:48:45 +1030 Date: Thu, 10 Feb 2005 04:25:00 -0000 From: Alan Modra To: Virgil Anuichi Cc: binutils@sources.redhat.com Subject: Re: wrong initialized global variable (in the wrong section: .bss instead of .data) Message-ID: <20050209221845.GE22497@bubble.modra.org> Mail-Followup-To: Virgil Anuichi , binutils@sources.redhat.com References: <20050209202653.62937.qmail@web21006.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050209202653.62937.qmail@web21006.mail.yahoo.com> User-Agent: Mutt/1.4i X-SW-Source: 2005-02/txt/msg00185.txt.bz2 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