Cut our umbilical cord from mother FreeBSD.
[dragonfly.git] / usr.bin / gensetdefs / gensetdefs.8
1 .\"
2 .\" $FreeBSD: src/usr.bin/gensetdefs/gensetdefs.8,v 1.2.2.2 2001/03/06 12:52:41 ru Exp $
3 .\" $DragonFly: src/usr.bin/gensetdefs/Attic/gensetdefs.8,v 1.2 2003/06/17 04:29:27 dillon Exp $
4 .\"
5 .Dd March 10, 1999
6 .Dt GENSETDEFS 8
7 .Os
8 .Sh NAME
9 .Nm gensetdefs
10 .Nd generate linker set definitions
11 .Sh SYNOPSIS
12 .Nm
13 .Ar
14 .Sh DESCRIPTION
15 The
16 .Nm
17 command is a special-purpose program to generate the
18 linker set definitions needed when building an ELF kernel.
19 Its
20 .Ar file
21 arguments are the names of ELF object files.
22 It scans the section names of the object files,
23 building a table of those that begin with
24 .Dv .set. ,
25 which represent linker sets.  Finally, for each set
26 .Dv foo
27 with 
28 .Dv count
29 elements, it writes a line 
30 .Fn DEFINE_SET foo count ;
31 to the standard output.
32 .Pp
33 This command is used by the kernel
34 .Pa makefile ,
35 such as
36 .Pa /sys/i386/conf/Makefile.i386
37 generic makefile for the
38 .Tn i386 .
39 .Sh SEE ALSO
40 .Xr config 8
41 .Sh AUTHORS
42 The
43 .Nm
44 command was written by
45 .An John D. Polstra .