From: jwinstea@jarthur.claremont.edu (Jim Winstead Jr.) Subject: Re: rc Shell Under Linux Date: 14 May 1992 19:36:17 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
>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
>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.
(d) binaries are linked against a stub library that uses the shared
library mechanism to load the correct shared library - there has been
a new shared library with each release of GCC 2.1 (by hlu, not by GNU).
--
+ Jim Winstead Jr. (CSci '95)
| Harvey Mudd College
| jwinstea@jarthur.Claremont.EDU
+ This is all my words. Honest!