diff --git a/usr.bin/genassym/genassym.1 b/usr.bin/genassym/genassym.1 index 9dd77a5e0f85..701284926ffa 100644 --- a/usr.bin/genassym/genassym.1 +++ b/usr.bin/genassym/genassym.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: genassym.1,v 1.4 2009/10/18 18:14:00 snj Exp $ +.\" $NetBSD: genassym.1,v 1.5 2010/04/13 09:01:10 jruoho Exp $ .\" .\" Copyright (c) 1997 Matthias Pfaller. .\" All rights reserved. @@ -23,7 +23,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd August 18, 2005 +.Dd April 13, 2010 .Dt GENASSYM 1 .Os .Sh NAME @@ -44,6 +44,7 @@ information reads from stdin. The generated file is used by kernel sources written in assembler to gain access to information (e.g. structure offsets and sizes) normally only known to the C compiler. +.Pp Arguments to .Nm are usually of the form @@ -56,7 +57,9 @@ and .Ar ${CPPFLAGS} are flag arguments to the C compiler. The script creates a C source file from its input. Then the C compiler is called according to the script's -arguments to compile this file. Normally +arguments to compile this file. +.Pp +Normally .Nm instructs the C compiler to create an assembler source from the constructed C source. The resulting file is then processed to extract the information @@ -81,7 +84,9 @@ The .Nm command appeared in .Nx 1.3 -as genassym.sh in +as +.Dq genassym.sh +in .Pa /usr/src/sys/kern . It became a userland utility in .Nx 4.0 .