Date: Wed, 30 Apr 1997 19:42:24 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Chris Csanady <ccsanady@nyx.pr.mcs.net> Cc: Michael Smith <msmith@atrad.adelaide.edu.au>, Bruce Evans <bde@zeta.org.au>, hackers@freebsd.org Subject: Re: Unloading LKMs (was Re: A Desparate Plea for Help...) Message-ID: <Pine.BSF.3.95q.970430194027.289H-100000@herring.nlsystems.com> In-Reply-To: <199704301635.LAA23173@nyx.pr.mcs.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Apr 1997, Chris Csanady wrote: > > >The important point is that there is *no difference* between the dynamic > >and statically loaded version of a driver. I can go into a > >/sys/compile/FOO directory and construct loadable modules from the same > >object files. > > How about a statically loaded version of the kernel? I mean, will it now > be nothing more than an aggregate of some modules? It would be nice if > all there were were modules, and to make yourself a kernel, you just > had to stick them together.. That is almost what I have right now. The only difference between the object file for a statically linked driver and the object file for a dynamically linked driver is this command: ld -Bshareable -o filename.so filename.o -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970430194027.289H-100000>