9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <charles.forsyth@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] 8c and elf shared libraries
Date: Tue, 17 Jul 2012 22:56:34 +0100	[thread overview]
Message-ID: <CAOw7k5iVQcNr-SnHVpnCb=FACtaYx8WMFA1oypAfDY1F9-P1Cw@mail.gmail.com> (raw)
In-Reply-To: <CAH7AAvpE3OJWg-B4OWTCRYEykft2Zz-PHnMKBFjRsmmfnUK5uQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

I don't think any of them generate the right addressing to implement a
dynamic library (in the Linux style).
Data is addressed directly, assuming one data per text. Dynamic libraries
need to create a data segment
for each application sharing the library text, so the references to the
data somehow need to be indirect.
There is usually some form of indirect linkage to do that, although I don't
know the details for the Linux/ELF variant.

[-- Attachment #2: Type: text/html, Size: 490 bytes --]

  parent reply	other threads:[~2012-07-17 21:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11 16:15 Steve Simon
2012-07-12  4:51 ` Ethan Grammatikidis
2012-07-12  5:42   ` erik quanstrom
2012-07-17 16:58     ` Ethan Grammatikidis
2012-07-17 21:16   ` Christopher Nielsen
2012-07-17 21:30     ` Steve Simon
2012-07-17 21:56     ` Charles Forsyth [this message]
     [not found]     ` <CAOw7k5iVQcNr-SnHVpnCb=FACtaYx8WMFA1oypAfDY1F9-P1Cw@mail.gmail.c>
2012-07-17 21:59       ` erik quanstrom
2012-07-17 22:17         ` Charles Forsyth
2012-07-17 23:22           ` hiro
2012-07-18  7:02             ` steve
2012-07-20 11:45               ` Ethan Grammatikidis
2012-07-28 10:40   ` Uriel

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='CAOw7k5iVQcNr-SnHVpnCb=FACtaYx8WMFA1oypAfDY1F9-P1Cw@mail.gmail.com' \
    --to=charles.forsyth@gmail.com \
    --cc=9fans@9fans.net \
    /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 NNTP newsgroup(s).