From: Drew Eckhardt (drew@ophelia.cs.colorado.edu)
Date: 05/15/92


From: drew@ophelia.cs.colorado.edu (Drew Eckhardt)
Subject: Re: rc Shell Under Linux
Date: Fri, 15 May 1992 23:13:18 GMT

In article <QUANSTRO.92May14130351@loki4.StOlaf.edu> quanstro@loki4.StOlaf.edu (goon) writes:
>In article <1992May14.055113.2383@muddcs.claremont.edu> jwinstea@jarthur.claremont.edu (Jim Winstead Jr.) writes:
>
> >(2) the dynamic-linker has had it's libs (or, on some systems cache)
> > corrupted.
>
> Dynamic linker? The libraries are shared, not dynamically linked.
>
>How does one share libs without dynamic linking? How does the system

You just do - intead of the library text / data being paged from the
executable, they are paged from the library binary.

>make sure that the function call in the application jmp's to the right
>address? There has to be some sort of mechanism for setting this up at

In the case of Linux, the locations of the shared library routines
are fixed, in the last 4M of a process's address space.

>runtime (dynamic linking) unless (a) calls to the lib are really traps
>(b) the libs are at a fixed location in memory. or (c) the kernel
>translates each call on-the-fly.
>
>

b.