*BSD News Article 5144


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!mcsun!sun4nl!fwi.uva.nl!casper
From: casper@fwi.uva.nl (Casper H.S. Dik)
Subject: Re: Shared Libs for X11?, was Re: 386bsd -- The New Newsgroup
Message-ID: <1992Sep16.165527.25135@fwi.uva.nl>
Sender: news@fwi.uva.nl
Nntp-Posting-Host: adam.fwi.uva.nl
Organization: FWI, University of Amsterdam
References: <18iprpINNg6e@agate.berkeley.edu> <1992Sep8.200625.2894@socrates.umd.edu> 	<veit.716026274@du9ds3> <18lkkkINN14d@agate.berkeley.edu> 	<veit.716107923@du9ds3> <7dnL02y821gh01@JUTS.ccc.amdahl.com> 	<veit.716291291@du9ds3> <1992Sep14.232949.9093@bby.com.au>, <2aFn02vQ22Jx01@JUTS.ccc.amdahl.com>
Date: Wed, 16 Sep 1992 16:55:27 GMT
Lines: 16

gab10@cd.amdahl.com (Gary A Browning) writes:

>Does this make the text of the executable non-sharable between multiple 
>processes?  Or is the O/S smart enough to recognize that, though modified, each
>process would be running the same modifications and therefore the text is
>sharable?

If the shared library is properly constructed, no such patching
of the executable needs to be done. In the case of an improperly
constructed shared library, the text segment will not be shared
between executables.

Casper
-- 
						|	Casper H.S. Dik
						|	casper@fwi.uva.nl