public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Prasad Venkata Boddupalli <bprasad@CS.Arizona.EDU>
To: binutils@sources.redhat.com
Subject: Specifying Segment Attributes
Date: Mon, 29 Aug 2005 19:25:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.58.0508291209020.19278@lectura.CS.Arizona.EDU> (raw)

Hello,

I am writing a loader for a multi-threaded processor in which multiple
instances of an application run on different threads. Multiple
instances, besides their data segments mapped to a different physical
location also have a shared memory. The loader needs to recognize this
shared segment in the elf-executable. From the elf specification and the
linker script command language, I realized that one of the ways of
specifying the segment attribute as 'shared' is to use the 'PHDRS' command
and specify the attribute as part of the 'flags' of that segment.

Is there any other way as the use of PHDRS command will force one to
describe all segments ?

thanks,
Prasad.

             reply	other threads:[~2005-08-29 19:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-29 19:25 Prasad Venkata Boddupalli [this message]
2005-08-30  0:51 ` Daniel Jacobowitz
2005-08-30  9:47 ` Nick Clifton

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=Pine.GSO.4.58.0508291209020.19278@lectura.CS.Arizona.EDU \
    --to=bprasad@cs.arizona.edu \
    --cc=binutils@sources.redhat.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).