Subject: Re: modload vs. ld/libbfd
To: Ignatios Souvatzis <is@netbsd.org>
From: None <ragge@ludd.luth.se>
List: tech-install
Date: 04/07/2005 09:58:30
> On Sun, Mar 27, 2005 at 10:19:02PM -0500, Perry E. Metzger wrote:
> >
> > Luke Mewburn <lukem@NetBSD.org> writes:
> > > The solutions include:
> > >
> > > 1. Rewrite /sbin/modload not to depend upon /usr/bin/ld.
> >
> > Wasn't someone (Ragge?) working on an in-kernel linker for modules?
>
> ISTR that, which is why I wrote "currently".
>
:-) That job is somewhat stalled right now.
I have written an ELF linker though, that should be easy to connect to the
lkm/ksyms stuff in the kernel. I wrote it to link the PDP10 kernel, but
it shouldn't be difficult to rip out the PDP10-specific parts.
If someone want to look at it I have put it up at
ftp://bakfull.campus.ltu.se/pdp10/ld-030919.tar.gz
-- Ragge