From owner-cvs-all Fri Oct 9 16:55:45 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA23685 for cvs-all-outgoing; Fri, 9 Oct 1998 16:55:45 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA23663; Fri, 9 Oct 1998 16:55:38 -0700 (PDT) (envelope-from peter@FreeBSD.org) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA07668; Fri, 9 Oct 1998 16:55:33 -0700 (PDT) Date: Fri, 9 Oct 1998 16:55:33 -0700 (PDT) Message-Id: <199810092355.QAA07668@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern link_elf.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1998/10/09 16:55:32 PDT Modified files: sys/kern link_elf.c Log: Fully implement KLD and preloading. - seperate unload for preloaded linker objects. - Don't build a kernel object if running as an a.out kernel. - extract the real kernel name rather than hardwiring "kernel" for kldstat. (sysctl kern.bootfile getst the full name via bootinfo) - use real addresses on the kernel "module" rather than fictitious ones. - preloaded module support - search module path for file modules. - symbols are checked to see if they are in the right containing file before using their indexes into string tables. This is to help ddb since it only supplies a pointer to an opaque symbol and there is no telling which file/object/module/whatever it came from. Revision Changes Path 1.3 +142 -53 src/sys/kern/link_elf.c