Subject: Re: IPSEC in GENERIC
To: None <tech-kern@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 02/20/2006 18:54:47
On Mon, Feb 20, 2006 at 07:50:22 -0800, Garrett D'Amore wrote:
> if you don't have -fPIC (or at least -fpic), how do you get them to
> be loadable? You have to be able to change the addresses, right?
> Or am I missing something obvious?
You need to relocate them. LKMs (ab)use ld(1) for that. We need a
real in-kernel linker to avoid the LKM -> /usr dependency b/c of ld.
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen