Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 1997 18:43:20 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        John Polstra <jdp@polstra.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: A new Kernel Module System 
Message-ID:  <Pine.BSF.3.95q.970401184204.4064C-100000@kipper.nlsystems.com>
In-Reply-To: <199704011653.IAA02429@austin.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Apr 1997, John Polstra wrote:

> > I am pretty sure that if I link a bunch of objects together using
> > -Bshareable, then ld(1) will generate a symbol table for me.
> 
> Yes, you're right.  I stand corrected.  You get zillions of warnings
> about RRS text relocations, but the output file does seem to be
> legitimate.
> 
> I still have doubts that this buys you anything, though.  Is there any
> advantage over just using the static symbol table and relocations?
> Remember, you'll have to link against kernel symbols too, and it won't
> have a run-time symbol table.

I plan to link the kernel as if it was a dynamic executable.  This
involves hacking ld(1) so that it still generates _DYNAMIC information
even if no shared libraries are seen in the link.

--
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.970401184204.4064C-100000>