public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: binutils@sourceware.org
Subject: Re: How to inform the linker not to produce any data for a 	.bsssection?
Date: Wed, 12 Dec 2007 14:19:00 -0000	[thread overview]
Message-ID: <20071212141931.GA7498@caradoc.them.org> (raw)
In-Reply-To: <475FA4FF.5010100@ntlworld.com>

On Wed, Dec 12, 2007 at 09:08:15AM +0000, Dave Murphy wrote:
> Daniel Jacobowitz wrote:
> > This is necessary alignment.  If you don't want .bss to take up space
> > in the file, do not put allocated sections after it.
> >   
> 
> Is there any way to change that behavior without causing problems?

Try manually defining PHDRs?  If the bss section is the last thing in
its segment, it won't take extra load space.


-- 
Daniel Jacobowitz
CodeSourcery

  reply	other threads:[~2007-12-12 14:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-09  2:51 How to inform the linker not to produce any data for a .bss section? PRC
2007-12-09 20:07 ` Daniel Jacobowitz
2007-12-11  1:19   ` Re: How to inform the linker not to produce any data for a .bsssection? PRC
2007-12-11 12:59     ` Daniel Jacobowitz
2007-12-12  9:08       ` Dave Murphy
2007-12-12 14:19         ` Daniel Jacobowitz [this message]
2007-12-18 10:19       ` Re: Re: How to inform the linker not to produce any data for a.bsssection? PRC
2007-12-18 11:34         ` Ivan Pulleyn

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=20071212141931.GA7498@caradoc.them.org \
    --to=drow@false.org \
    --cc=binutils@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).