summaryrefslogtreecommitdiffstats
path: root/usr.bin/nm/nm.1aout
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-24 09:59:43 +0000
committerpeter <peter@FreeBSD.org>1996-09-24 09:59:43 +0000
commit142a5685e6c7ef39f8ac45884dbfea7d126e9ad2 (patch)
treed4adb080d93177cc6626c28558d7ea3fcf9b4dff /usr.bin/nm/nm.1aout
parent86c863abe8f56df1d8eb4b0ff115423a0f055a44 (diff)
downloadFreeBSD-src-142a5685e6c7ef39f8ac45884dbfea7d126e9ad2.zip
FreeBSD-src-142a5685e6c7ef39f8ac45884dbfea7d126e9ad2.tar.gz
Rudimentry support for viewing weak symbols. There are two types that
this deals with, the N_INDR indirect symbols done with .stabs operations, and those done with .weak that have an extra field in n_other.
Diffstat (limited to 'usr.bin/nm/nm.1aout')
-rw-r--r--usr.bin/nm/nm.1aout10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.bin/nm/nm.1aout b/usr.bin/nm/nm.1aout
index 907b3b1..7f2a691 100644
--- a/usr.bin/nm/nm.1aout
+++ b/usr.bin/nm/nm.1aout
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)nm.1 8.1 (Berkeley) 6/6/93
-.\" $Id$
+.\" $Id: nm.1,v 1.3 1996/08/29 18:06:05 wosch Exp $
.\"
.Dd June 6, 1993
.Dt NM 1
@@ -40,7 +40,7 @@
.Nd display name list (symbol table)
.Sh SYNOPSIS
.Nm nm
-.Op Fl agnoprtuw
+.Op Fl agnoprtuwW
.Ar
.Sh DESCRIPTION
The symbol table (name list) of each object in
@@ -80,6 +80,8 @@ Display undefined symbols only.
Warn about non-object archive members.
Normally, nm will silently ignore all archive members which are not
object files.
+.It Fl W
+Include an extra column in the output with a ``W'' indicating weak symbols.
.El
.Pp
Each symbol name is preceded by its value (a blank field if the symbol
@@ -100,10 +102,14 @@ common symbol
data segment symbol
.It Li f
file name
+.It Li I
+indirect reference symbol
.It Li T
text segment symbol
.It Li U
undefined
+.It Li W
+warn if next symbol is referenced
.El
.Pp
If the symbol is local (non-external) the type letter is in lower case.
OpenPOWER on IntegriCloud