🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #13744

Re: implementing shared libraries

#13744
From: Henry Spencer
Date: Wed, 22 Apr 1987 14:54
12 lines
1174 bytes
> Far and away the simplest way is for the compiler to generate
> Position Independent Code.  The libraries can then reside at
> any place in the process' virtual address space.  They need not
> be at the same place in all processes.

Don't forget the problems of (a) where does static data for the library
functions live (they need to know this), and (b) how does the user code
find out where the foobar() function is.  I think the latter is more what
the original question was about.
-- 
"If you want PL/I, you know       Henry Spencer @ U of Toronto Zoology
where to find it." -- DMR         {allegra,ihnp4,decvax,pyramid}!utzoo!henry
Technical Details
Message-ID: <7952@utzoo.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!henry
References: <12823@watnot.UUCP>, <926@aw.sei.cmu.edu.sei.cmu.edu>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!henry
From: henry@utzoo.UUCP (Henry Spencer)
Newsgroups: comp.arch
Subject: Re: implementing shared libraries
Message-ID: <7952@utzoo.UUCP>
Date: Wed, 22-Apr-87 09:54:05 EST
Article-I.D.: utzoo.7952
Posted: Wed Apr 22 09:54:05 1987
Date-Received: Wed, 22-Apr-87 09:54:05 EST
References: <12823@watnot.UUCP>, <926@aw.sei.cmu.edu.sei.cmu.edu>
Organization: U of Toronto Zoology
Lines: 12