Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 1998 09:22:40 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Andrzej Bialecki <abial@nask.pl>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Q. new kld linker 
Message-ID:  <199809171622.JAA00715@word.smith.net.au>
In-Reply-To: Your message of "Thu, 17 Sep 1998 13:02:06 %2B0200." <Pine.BSF.4.02A.9809171256220.2486-100000@korin.warman.org.pl> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
> 
> I have a couple of questions concerning the new kernel module loader.
> 
> * will it work with stripped kernels/modules? Currently used modload
> requires a kernel with symbols.

It only requires the _DYNAMIC object which is part of the data segment.

> * what size of temporary files will it produce in process of loading?
> Currently used modload runs normal ld, which produces a ca. 30kB file in
> /tmp. This may sound for you like nothing, but it's very important for
> tiny systems.

It doesn't use temporary files at all; you pass the filename in as a 
syscall argument and it reads the file directly.

> * is it supposed to be (eventually) used instead of current lkm?

Yes; if we can switch the default kernel to ELF, we must migrate all of 
them.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809171622.JAA00715>