diff options
author | ghelmer <ghelmer@FreeBSD.org> | 1999-05-04 20:31:28 +0000 |
---|---|---|
committer | ghelmer <ghelmer@FreeBSD.org> | 1999-05-04 20:31:28 +0000 |
commit | 0de2c28a63ee21838dac5a40a61216749ce32ffa (patch) | |
tree | 6e529f290560720e77d73f8c495c25e602e3ad68 /usr.bin | |
parent | 4d2da9228b772e60670751c572a4eeba0aff3235 (diff) | |
download | FreeBSD-src-0de2c28a63ee21838dac5a40a61216749ce32ffa.zip FreeBSD-src-0de2c28a63ee21838dac5a40a61216749ce32ffa.tar.gz |
Add gensetdefs.8 man page.
PR: docs/10517
Submitted-by: Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/gensetdefs/Makefile | 3 | ||||
-rw-r--r-- | usr.bin/gensetdefs/gensetdefs.8 | 44 |
2 files changed, 45 insertions, 2 deletions
diff --git a/usr.bin/gensetdefs/Makefile b/usr.bin/gensetdefs/Makefile index 1f5fd6e..e780fee 100644 --- a/usr.bin/gensetdefs/Makefile +++ b/usr.bin/gensetdefs/Makefile @@ -1,6 +1,5 @@ -# $Id$ +# $Id: Makefile,v 1.2 1998/10/14 10:21:10 bde Exp $ PROG= gensetdefs -NOMAN= noman .include <bsd.prog.mk> diff --git a/usr.bin/gensetdefs/gensetdefs.8 b/usr.bin/gensetdefs/gensetdefs.8 new file mode 100644 index 0000000..ecbfe3a --- /dev/null +++ b/usr.bin/gensetdefs/gensetdefs.8 @@ -0,0 +1,44 @@ +.\" +.\" $Id$ +.\" +.Dd March 10, 1999 +.Dt GENSETDEFS 8 +.Os +.Sh NAME +.Nm gensetdefs +.Nd generate linker set definitions +.Sh SYNOPSIS +.Nm gensetdefs +.Ar file ... +.Sh DESCRIPTION +The +.Nm +command is a special-purpose program to generate the +linker set definitions needed when building an ELF kernel. +Its +.Ar file +arguments are the names of ELF object files. +It scans the section names of the object files, +building a table of those that begin with +.Dv .set. , +which represent linker sets. Finally, for each set +.Dv foo +with +.Dv count +elements, it writes a line +.Fn DEFINE_SET foo count ; +to the standard output. +.Pp +This command is used by the kernel +.Pa makefile , +such as +.Pa /sys/i386/conf/Makefile.i386 +generic makefile for the +.Tn i386 . +.Sh SEE ALSO +.Xr config 8 +.Sh AUTHORS +The +.Nm +command was written by +.An John D. Polstra . |