freebsd-dev/sys/alpha/linux
Peter Wemm f41325db5f 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
..
linux_dummy.c Remove dummy stub functions. 2001-02-16 14:46:16 +00:00
linux_genassym.c I don't know why this used to compile for me, but now struct 2000-11-01 08:48:53 +00:00
linux_ioctl.h Sort. 2000-11-02 04:13:51 +00:00
linux_locore.s Don't auto-generate the syscalls. 2000-12-03 01:30:31 +00:00
linux_machdep.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
linux_proto.h Regen after adding linux_sched_get_priority_max() and 2001-04-03 18:01:41 +00:00
linux_syscall.h Regen after adding linux_sched_get_priority_max() and 2001-04-03 18:01:41 +00:00
linux_sysent.c Regen after adding linux_sched_get_priority_max() and 2001-04-03 18:01:41 +00:00
linux_sysvec.c With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
linux.h With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
Makefile Make the target a little bit more generic. 2000-11-01 08:47:34 +00:00
syscalls.conf $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.master Add linux_sched_get_priority_max() and linux_sched_get_priority_min() to 2001-04-03 17:58:44 +00:00