Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2004 09:32:40 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern link_elf_obj.c
Message-ID:  <200404301632.i3UGWfxJ082763@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2004/04/30 09:32:40 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             link_elf_obj.c 
  Log:
  Checkpoint commit for an alternative WIP kernel module loader that isn't
  as dependent on binutils features/quirks as the current one.  This one
  loads plain .o files without having to mess with shared object mode.
  
  This happens to be essential on amd64, because binutils hasn't implemented
  all the quirks/features that we need for producing the hack non-PIC shared
  objects.  As it turned out, .o format isn't all that inconvenient after
  all.  It looks like the ability to use the same .o files for linking
  directly into a static kernel or loading as a module might be worth it.
  
  It is still very much a work-in-progress, but it is almost usable.  Other
  changes are still needed in order to use it though, these have not been
  committed yet.  There is still a memory corruption/overrun bug somewhere.
  For example, test modules load and work, but the machine explodes a few
  minutes later in vm_forkproc() or the like.  Notable missing things
  include kldxref support, and loader(8) support.  I wanted to figure out
  a working baseline set of code first.
  
  Revision  Changes     Path
  1.77      +697 -1060  src/sys/kern/link_elf_obj.c



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