From: Keith Bostic Date: Mon, 11 Sep 1989 08:46:59 +0000 (-0800) Subject: new version from Hans Huebner X-Git-Tag: BSD-4_3_Reno-Snapshot-Development~5371 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/6820c751caf4cffb08a87f5e928bc3f5b127e3c4 new version from Hans Huebner SCCS-vsn: usr.bin/nm/nm.1 6.2 --- diff --git a/usr/src/usr.bin/nm/nm.1 b/usr/src/usr.bin/nm/nm.1 index f767f8d55f..705f5572e1 100644 --- a/usr/src/usr.bin/nm/nm.1 +++ b/usr/src/usr.bin/nm/nm.1 @@ -2,7 +2,7 @@ .\" All rights reserved. The Berkeley software License Agreement .\" specifies the terms and conditions for redistribution. .\" -.\" @(#)nm.1 6.1 (Berkeley) %G% +.\" @(#)nm.1 6.2 (Berkeley) %G% .\" .TH NM 1 "" .UC 4 @@ -11,50 +11,21 @@ nm \- print name list .SH SYNOPSIS .B nm [ -.B \-agnopru +.B \-agnopruw ] [ file ... ] .SH DESCRIPTION .I Nm prints the name list (symbol table) of each object .I file -in the argument list. If an argument is an archive, a listing for each object -file in the archive will be produced. If no +in the argument list. +If an argument is an archive, a listing for each object file in the +archive will be produced. +If no .I file -is given, the symbols in "a.out" are listed. +is given, the symbols in ``a.out'' are listed. .PP -Each symbol name is preceded by its value (blanks if undefined) -and one of the letters -.SM -.B U -(undefined), -.SM -.B A -(absolute), -.SM -.B T -(text segment symbol), -.SM -.B D -(data segment symbol), -.SM -.B B -(bss segment symbol), -.SM -.B C -(common symbol), -.SM -.B f -file name, -or -.B \- -for debugger symbol table entries (see -.B \-a -below). -If the symbol is local (non-external) the type letter is in lower case. -The output is sorted alphabetically. -.PP -Options are: +The options are as follows: .TP .B \-a Print symbol table entries inserted for use by debuggers. @@ -76,5 +47,42 @@ Sort in reverse order. .TP .B \-u Print only undefined symbols. +.TP +.B \-w +Warn about non-object archive members. +Normally, nm will silently ignore all archive members which are not +object files. +.PP +Each symbol name is preceded by its value (a blank field if the symbol +is undefined) and one of the following letters: +.TP +.B \- +debugger symbol table entries (see the +.B \-a +option). +.TP +.B A +absolute +.TP +.B B +bss segment symbol +.TP +.B C +common symbol +.TP +.B D +data segment symbol +.TP +.B f +file name +.TP +.B T +text segment symbol +.TP +.B U +undefined +.PP +If the symbol is local (non-external) the type letter is in lower case. +The output is sorted alphabetically. .SH SEE ALSO ar(1), ar(5), a.out(5), stab(5)