Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: alsa-devel@lists.sourceforge.net
Subject: Re: [PATCH 2/8] ASoC pxa2xx I2S support
Date: Thu, 12 Oct 2006 13:18:44 -0400	[thread overview]
Message-ID: <20061012171844.GA10020@nevyn.them.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0610121144020.2435@xanadu.home>

On Thu, Oct 12, 2006 at 11:47:16AM -0400, Nicolas Pitre wrote:
> > IIRC, the code size is reduced by omitting '= 0'.  That is why kernel
> > code prefers the style without '= 0'. 
> > Maybe it doesn't matter any more with the recetn gcc, though.
> 
> The reason is that global variables with explicit initial values are 
> allocated to the .data section which is always present in the kernel 
> binary.  When no explicit initial value is provided then the variable is 
> allocated to the .bss section which is _not_ included in the kernel 
> binary but initialized to zero at runtime.

GCC has included explicitly zero initialized variables in the .bss
section for a while now; this is controlled by
-fno-zero-initialized-in-bss.

-- 
Daniel Jacobowitz
CodeSourcery

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

      reply	other threads:[~2006-10-12 17:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-10 16:11 [PATCH 2/8] ASoC pxa2xx I2S support Liam Girdwood
2006-10-10 17:06 ` Takashi Iwai
2006-10-12 10:14   ` Liam Girdwood
2006-10-12 10:56     ` Takashi Iwai
2006-10-12 15:47       ` Nicolas Pitre
2006-10-12 17:18         ` Daniel Jacobowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061012171844.GA10020@nevyn.them.org \
    --to=drow@false.org \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox