File:  [Research Unix] / researchv10dc / dist / man / v4 / man1 / nm.1
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.th NM I 8/20/73
.sh NAME
nm  \*-  print name list
.sh SYNOPSIS
.bd nm
[
.bd \*-cjnru
]
[ name ]
.sh DESCRIPTION
.it Nm
prints the symbol table from the output file of an
assembler or loader run.
Each symbol name is preceded by its value (blanks if undefined)
and one of the letters \fBU\fR (undefined) \fBA\fR (absolute) \fBT\fR
(text segment symbol),
\fBD\fR (data segment symbol), \fBB\fR
(bss segment symbol),
or \fBC\fR (common symbol).
Global symbols have their first character underlined.
Normally, the output is sorted alphabetically
and symbols consisting of a letter followed by one
or more digits are not printed (that is,
symbols which look like C internal symbols).
.s3
If no file is given, the symbols in
.bd a.out
are listed.
.s3
Options are:
.s3
.lp +4 4
\fB\*-c\fR	list only C-style external symbols, that is
those beginning with underscore `\*_'.
.s3
.lp +4 4
\fB\*-j\fR	list symbols consisting of a letter followed by digits,
which are normally suppressed.
.s3
.lp +4 4
\fB\*-n\fR	sort by value instead of by name
.s3
.lp +4 4
\fB\*-r\fR	sort in reverse order
.s3
.lp +4 4
\fB\*-u\fR	print only undefined symbols.
.i0
.sh FILES
a.out
.sh BUGS

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.