From: Roland Dreier <rdreier@cisco.com>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Arjan van de Ven <arjan@infradead.org>,
torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
mingo@elte.hu, Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Subject: Re: [PATCH] fastboot: Introduce an asynchronous function call mechanism
Date: Wed, 15 Oct 2008 10:55:15 -0700 [thread overview]
Message-ID: <aday70pd9q4.fsf@cisco.com> (raw)
In-Reply-To: <20081015175252.GA10600@x200.localdomain> (Alexey Dobriyan's message of "Wed, 15 Oct 2008 21:52:52 +0400")
> > I was actually "?"ing at the "= 0". I thought that would be obvious
> > but it's whizzed past two people so far :(
>
> Is there evidence that some gccs will not add such variable to .bss?
>
> Because "= 0;" is more readable.
From: http://gcc.gnu.org/gcc-3.3/changes.html
GCC 3.3.1 automatically places zero-initialized variables in the .bss
section on some operating systems. Versions of GNU Emacs up to (and
including) 21.3 will not work correctly when using this optimization;
you can use -fno-zero-initialized-in-bss to disable it.
so presumably gcc 3.2 (which we still support, right?) does not do this
(and puts such variables in .data).
- R.
next prev parent reply other threads:[~2008-10-15 17:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-12 23:44 [PATCH] fastboot: Introduce an asynchronous function call mechanism Arjan van de Ven
2008-10-12 23:45 ` async function call test users Arjan van de Ven
2008-10-13 7:22 ` Ingo Molnar
2008-10-13 3:44 ` [PATCH] fastboot: Introduce an asynchronous function call mechanism Willy Tarreau
2008-10-13 7:15 ` Pekka Enberg
2008-10-13 14:45 ` Arjan van de Ven
2008-10-15 8:41 ` Andrew Morton
2008-10-15 10:37 ` Evgeniy Polyakov
2008-10-15 11:52 ` Arjan van de Ven
2008-10-15 12:30 ` Alan Cox
2008-10-15 16:59 ` Andrew Morton
2008-10-15 17:52 ` Alexey Dobriyan
2008-10-15 17:55 ` Roland Dreier [this message]
2008-10-15 18:09 ` Alexey Dobriyan
2008-10-15 18:09 ` Andrew Morton
2008-10-15 20:23 ` Arjan van de Ven
2008-10-15 21:18 ` Evgeniy Polyakov
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=aday70pd9q4.fsf@cisco.com \
--to=rdreier@cisco.com \
--cc=adobriyan@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=arjan@infradead.org \
--cc=johnpol@2ka.mipt.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@linux-foundation.org \
/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