Fix module loading for vkernel.
authorSimon Schubert <corecode@dragonflybsd.org>
Thu, 7 Jun 2007 22:58:11 +0000 (22:58 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Thu, 7 Jun 2007 22:58:11 +0000 (22:58 +0000)
commit6ef6faeb19268917889c5a06b0fa523ae6d67ccd
treed1207fe9ceadc0a32e49f9b1cea844e52cb38558
parentade9289ffe4799d0c6dbfa7e702984b75b8a07e3
Fix module loading for vkernel.

Some symbols in the vkernel are actually provided by libs the
kernel binary is linked to, which can not be resolved by the
internal kernel linker.  Fall back on using dlsym() if no
symbol could be found by the kernel linker.  This actually means
that the kernel needs to be linked dynamically.
sys/kern/kern_linker.c