freebsd-dev/sys
peter 954d31f5da With this commit, I hereby pronounce gensetdefs past its use-by date.
Replace the a.out emulation of 'struct linker_set' with something
a little more flexible.  <sys/linker_set.h> now provides macros for
accessing elements and completely hides the implementation.

The linker_set.h macros have been on the back burner in various
forms since 1998 and has ideas and code from Mike Smith (SET_FOREACH()),
John Polstra (ELF clue) and myself (cleaned up API and the conversion
of the rest of the kernel to use it).

The macros declare a strongly typed set.  They return elements with the
type that you declare the set with, rather than a generic void *.

For ELF, we use the magic ld symbols (__start_<setname> and
__stop_<setname>).  Thanks to Richard Henderson <rth@redhat.com> for the
trick about how to force ld to provide them for kld's.

For a.out, we use the old linker_set struct.

NOTE: the item lists are no longer null terminated.  This is why
the code impact is high in certain areas.

The runtime linker has a new method to find the linker set
boundaries depending on which backend format is in use.

linker sets are still module/kld unfriendly and should never be used
for anything that may be modular one day.

Reviewed by:	eivind
2001-06-13 10:58:39 +00:00
..
alpha With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
amd64 Hints overhaul: 2001-06-12 09:40:04 +00:00
arm/include Fix style of defines. 2001-06-09 05:21:17 +00:00
boot Move the first section up one page. The firmware bogusly uses the first 2001-06-10 13:39:10 +00:00
cam Hints overhaul: 2001-06-12 09:40:04 +00:00
coda Now works again and as a module and with devfs. 2001-06-05 19:45:16 +00:00
compat With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
compile
conf With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
contrib Remove old ACPI CA code. These will be drained from the repo at some 2001-05-29 20:22:11 +00:00
crypto Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ddb With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
dev With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
fs With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
geom Polish error handling with biofinish(). 2001-05-08 09:10:27 +00:00
gnu new (gpl licensed) firmware image for cs4280/cs46xx sound chips 2001-05-30 22:28:30 +00:00
i4b Submitted by: Juha-Matti Liukkonen (Cubical Solutions Ltd) (jml@cubical.fi) 2001-05-25 08:43:30 +00:00
i386 With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
ia64 Fix style of defines. 2001-06-09 05:21:17 +00:00
isa Hints overhaul: 2001-06-12 09:40:04 +00:00
isofs/cd9660 - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file 2001-05-23 09:42:29 +00:00
kern With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
libkern Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files. 2001-05-24 08:47:42 +00:00
modules Linprocfs builds on Alpha now. 2001-06-11 21:57:18 +00:00
net Restore the code wrongly nuked by previous commit. 2001-06-12 08:52:54 +00:00
netatalk
netatm Silence some warnings 2001-03-20 10:42:49 +00:00
netgraph Fix a range checking bug in ng_int32_parse which affected 64-bit 2001-05-19 19:36:32 +00:00
netinet Sync with recent KAME. 2001-06-11 12:39:29 +00:00
netinet6 Sync with recent KAME. 2001-06-11 12:39:29 +00:00
netipx Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netkey Sync with recent KAME. 2001-06-11 12:39:29 +00:00
netnatm Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which 2001-04-05 04:20:48 +00:00
netncp With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
netns
netsmb With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
nfs Unlock the process returned from pfind() if it does not return NULL. 2001-06-01 01:30:51 +00:00
nfsclient Unlock the process returned from pfind() if it does not return NULL. 2001-06-01 01:30:51 +00:00
nfsserver Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
pc98 With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
pccard First stab at adding back in CL-PD6729 support. 2001-06-09 07:34:17 +00:00
pci Fix mindo: 2001-06-05 20:51:17 +00:00
posix4 o Merge contents of struct pcred into struct ucred. Specifically, add the 2001-05-25 16:59:11 +00:00
powerpc Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
rpc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
svr4
sys With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
tools replace calls to non-existant bail() subroutine with calls to 2001-03-23 11:48:50 +00:00
ufs Call vn_close on the backing file vnode if ufs_extattr_enable failed to 2001-06-07 00:11:32 +00:00
vm Cleanup the tabbing 2001-06-11 19:17:05 +00:00
Makefile