public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@wasabisystems.com>
To: <peter.kourzanov@xs4all.nl>
Cc: binutils@sources.redhat.com
Subject: Re: objcopy --set-section-flags .data=alloc,load,data,share
Date: Thu, 11 Nov 2004 15:22:00 -0000	[thread overview]
Message-ID: <m33bzg5s37.fsf@gossamer.airs.com> (raw)
In-Reply-To: <20041111102549.GP7593@altair.cygnus.nl>

<peter.kourzanov@xs4all.nl> writes:

>   I've got a question about semantics of the "share" section flag
> in objcopy. It seems not be documented anywhere and all links I
> could google up refer to COFF binaries, with unexplained semantics
> as well. Is there a possibility to mark a "shared" section in ELF,
> so that OS's that need it can map the section as shared?

The "share" section flag can not be represented in ELF.

I'm not sure exactly what you mean by "map the section as shared," but
the answer is probably no: there is no way to do that in ELF.  Note
that typical ELF systems will automatically share read-only text
segments.

Ian

  reply	other threads:[~2004-11-11 15:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1100168375.22757.ezmlm@sources.redhat.com>
2004-11-11 10:26 ` peter.kourzanov
2004-11-11 15:22   ` Ian Lance Taylor [this message]
2004-11-11 16:00     ` peter.kourzanov
2004-11-11 16:22       ` Ian Lance Taylor
2004-11-11 16:40         ` peter.kourzanov
2004-11-11 19:38           ` Ian Lance Taylor

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=m33bzg5s37.fsf@gossamer.airs.com \
    --to=ian@wasabisystems.com \
    --cc=binutils@sources.redhat.com \
    --cc=peter.kourzanov@xs4all.nl \
    /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).