Subject: Re: What's a "real" elf loader like ?
To: None <tech-kern@netbsd.org>
From: Pavel Cahyna <pavel@netbsd.org>
List: tech-kern
Date: 06/17/2006 16:54:59
On Sat, Jun 17, 2006 at 10:52:06AM +0200, Quentin Garnier wrote:
> The kernel options description files could have stuff like this:
> 
>     modular defattr foo
> 
>     modular device bar
> 
>     device baz
>     modular attach baz at fol with baz_fol
> 
> which would mark repectively the attributes foo, bar and baz_fol as
> potentially modular.  Then the user would have e.g.:
> 
>     module baz* at fol?
> 
> which would have the module baz_fol.o created.

In this example, "baz" itself is not modular? It has to be compiled
statically?

If you had instead "modular device baz", you should be able to create
modules baz.o and baz_fol.o, right?

Pavel