From owner-cvs-all Tue Oct 30 7:21:51 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F10B137B401; Tue, 30 Oct 2001 07:21:45 -0800 (PST) Received: (from green@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9UFLjh14782; Tue, 30 Oct 2001 07:21:45 -0800 (PST) (envelope-from green) Message-Id: <200110301521.f9UFLjh14782@freefall.freebsd.org> From: Brian Feldman Date: Tue, 30 Oct 2001 07:21:45 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys linker.h src/sys/kern kern_linker.c link_elf.c linker_if.m X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG green 2001/10/30 07:21:45 PST Modified files: sys/sys linker.h sys/kern kern_linker.c link_elf.c linker_if.m Log: Add the sysctl "kern.function_list", which currently exports all function symbols in the kernel in a list of C strings, with an extra nul-termination at the end. This sysctl requires addition of a new linker operation. Now, linker_file_t's need to respond to "each_function_name" to export their function symbols. Note that the sysctl doesn't currently allow distinguishing multiple symbols with the same name from different modules, but could quite easily without a change to the linker operation. This will be a nicety to have when it can be used. Obtained from: NAI Labs CBOSS project Funded by: DARPA Revision Changes Path 1.70 +32 -1 src/sys/kern/kern_linker.c 1.50 +23 -0 src/sys/kern/link_elf.c 1.4 +11 -1 src/sys/kern/linker_if.m 1.27 +2 -1 src/sys/sys/linker.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message