Date: Tue, 30 Oct 2001 07:21:45 -0800 (PST) From: Brian Feldman <green@FreeBSD.org> 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 Message-ID: <200110301521.f9UFLjh14782@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110301521.f9UFLjh14782>