Subject: Re: IPSEC in GENERIC
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Andrew Reilly <andrew-netbsd@areilly.bpc-users.org>
List: tech-kern
Date: 02/22/2006 17:40:19
On Mon, Feb 20, 2006 at 07:50:22AM -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?

Shared libraries have to be position independent so that the same
text image can be mapped into different processes at different
addresses.  LKMs are only mapped once, into the kernel's address
space, so a static linking at load time gets the job done.

-- 
Andrew