File:  [Research Unix] / researchv10dc / man / adm / 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 1
.CT 1 lib_obj
.SH NAME
nm \(mi name list (symbol table)
.SH SYNOPSIS
.B nm
[
.B -agnopru
]
[
.I file ...
]
.SH DESCRIPTION
.I Nm
prints the name list of each object
.I file
in the argument list.
If an argument
is a library archive, a listing for each object
file in the archive will be produced.
If no
.I file
is given, the symbols in
.F a.out
are listed.
.PP
Each symbol name is preceded by its value (blanks if undefined)
and one of the letters
.TP
.B U
undefined
.PD0
.TP
.B A
absolute
.TP
.B  T
text segment symbol
.TP
.B D
data segment symbol
.TP
.B B
bss segment symbol
.TP
.B C
common symbol
.TP
.B f
source file name
.TP
.B -
extra symbols for debuggers;
see
.B -a
below
.PD
.PP
If the symbol is local (non-external) the type letter is in
lower case.
The output is sorted alphabetically.
.PP
Options are:
.TP
.B -a
Print all symbols; normally extra debugger
symbols are excluded.
.TP
.B  -g
Print only global (external) symbols.
.TP
.B -n
Sort numerically rather than alphabetically.
.TP
.B  -o
Prepend file or archive element name to each
output line rather than printing it once separately.
.TP
.B  -p
Don't sort; print in symbol-table order.
.TP
.B  -r
Sort in reverse order.
.TP
.B  -u
Print only undefined symbols.
.SH SEE ALSO
.IR ar (1),
.IR ar (5), 
.IR a.out (5), 
.IR stab (5),
.IR adb (1),
.IR pi (9.1)

unix.superglobalmegacorp.com

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