public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au>
To: Virgil Anuichi <vanuichi@yahoo.com>
Cc: binutils@sources.redhat.com
Subject: Re: wrong initialized global variable (in the wrong section: .bss instead of .data)
Date: Thu, 10 Feb 2005 04:25:00 -0000	[thread overview]
Message-ID: <20050209221845.GE22497@bubble.modra.org> (raw)
In-Reply-To: <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

  reply	other threads:[~2005-02-09 22:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-09 23:03 Virgil Anuichi
2005-02-10  4:25 ` Alan Modra [this message]
2005-02-10 17:26   ` Virgil Anuichi
2005-02-10 19:04     ` Dave Korn
2005-02-10 21:20       ` Dave Korn
2005-02-10 23:40       ` Virgil Anuichi
2005-02-11  0:05         ` Virgil Anuichi
2005-02-11  0:19           ` Virgil Anuichi

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=20050209221845.GE22497@bubble.modra.org \
    --to=amodra@bigpond.net.au \
    --cc=binutils@sources.redhat.com \
    --cc=vanuichi@yahoo.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).