Subject: Re: CVS commit: src/share/mk
To: Matt Thomas <matt@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 02/25/2003 13:50:02
On Wed, 19 Feb 2003, Matt Thomas wrote:
>
> Module Name: src
> Committed By: matt
> Date: Wed Feb 19 19:03:41 UTC 2003
>
> Modified Files:
> src/share/mk: bsd.kmod.mk
>
> Log Message:
> When making a LKM for powerpc, add function trampolines to undefined
> functions. This makes LKMs functional for powerpc.
Cool!
But what we really need is for the linker to be able to do this
automatically. While this change will help with lkms, (unless I
misunderstand it) it won't help with large programs, which will face the
same problem.
While it's unlikely we'll have programs that big, they do exist. :-)
Also, for cross-lkm calls, we'll end up using the trampolines, won't we?
While they are uncommon now, if we went with an aggressive lkm'd kernel,
it might be a performance impact.
Take care,
Bill