On Tue, Mar 01, 2016 at 11:41:46PM +0000, Rainer Weikusat wrote:
> "T.J. Duchene" <[email protected]> writes:
> > On 2016-03-01 20:22, Rainer Weikusat wrote:
> 
> And I disgree with your assessment of this being "a simplified"
> description, instead of a fairly complicated and seriously deceptive
> one.
> 
> >> As single example: Applications aren't "compiled with" dynamic
> >> libraries, they're combined with them at runtime which happens in the
> >> same way regardless of the system they were compiled on.
> >
> > I am not trying to be rude or condescending, but if you prefer a more
> > qualified answer to show that I know what I am talking about, then I
> > must disagree with you.  They are not "combined" with anything except
> > a set of calls,
> 
> Oh, they are. Try running pmap -d $$ in a shell to see this.

As I once understood it, programs are linked to a stub.  When the 
dynamic shared libraries are loaded, the stub s filled in with the 
addresses of the real library entry points.  There must be more to the 
story, because this obviously won't work for addresses of data.

Perhaps it is worth going in to more detail.  Or providing links to a 
more complete description.

-- hendrik
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to