public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeffrey A Law <law@hurl.cygnus.com>
To: chris@lslsun.epfl.ch (Christian Iseli)
Cc: egcs@cygnus.com
Subject: Re: Named bss sections
Date: Mon, 08 Sep 1997 07:58:00 -0000	[thread overview]
Message-ID: <21940.873730703@hurl.cygnus.com> (raw)
In-Reply-To: <199709081205.OAA28412@lslsun17.epfl.ch>

  In message < 199709081205.OAA28412@lslsun17.epfl.ch >you write:
  > When you work with embedded targets,
[ ... ]
Yup.  No doubt I deal with this regularly.

  > GCC has provision to put global and static variables in user
  > specified sections using the section attribute, and though it
  > says in the manual that it should only be used for initialized
  > variables, I see no hard reason for this restriction.
Agreed in principle.

  > Basically, I want to be able to specify a section for any variable,
  > not only initialized ones.  For example, if a variable represents
  > some input port mapped in RAM, it would be wrong to have to initialize
  > it to some value.
I'll ask my question another way :-)  Show me a variable declaration that
specifies a specific section, but doesn't end up where it belongs and is
fixed by your patch.

jeff

  reply	other threads:[~1997-09-08  7:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-08  6:50 Christian Iseli
1997-09-08  7:58 ` Jeffrey A Law [this message]
1997-09-08 10:32 ` Martin Mares
  -- strict thread matches above, loose matches on Subject: below --
1997-09-09  4:15 Christian Iseli
1997-09-02  7:15 Christian Iseli
1997-09-02  9:18 ` Gavin Koch
1997-09-04 22:30 ` Jeffrey A Law

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=21940.873730703@hurl.cygnus.com \
    --to=law@hurl.cygnus.com \
    --cc=chris@lslsun.epfl.ch \
    --cc=egcs@cygnus.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).