WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] [patch] remove global zero initializers

To: Tristan Gingold <tgingold@xxxxxxx>
Subject: Re: [Xen-ia64-devel] [patch] remove global zero initializers
From: Jes Sorensen <jes@xxxxxxx>
Date: Sat, 16 Dec 2006 09:39:08 +0100
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 16 Dec 2006 00:40:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061216045906.GA2482@saphi>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4582743F.7080101@xxxxxxx> <20061216045906.GA2482@saphi>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (X11/20061115)
Tristan Gingold wrote:
On Fri, Dec 15, 2006 at 11:09:03AM +0100, Jes Sorensen wrote:
Hi,

This one falls in the micro optimisation area, but still. No reason to
zero initialize global variables.
Hi,

just FYI, gcc is supposed to automatically put 0 initialized variables into
bss.  See `-fno-zero-initialized-in-bss' option.

Hmmm, I know we make the same changes to the kernel and I think it's a
good thing to do<tm>. But thanks for the hint, I need to check that
argument - it wasn't there when I started playing with gcc :-)

Cheers,
Jes

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>