cvs commit: src/sys/kern kern_linker.c

Simon Schubert corecode at crater.dragonflybsd.org
Thu Jun 7 15:58:39 PDT 2007


corecode    2007/06/07 15:58:11 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_linker.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.38      +12 -0     src/sys/kern/kern_linker.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_linker.c.diff?r1=1.37&r2=1.38&f=u





More information about the Commits mailing list