Rev | Line | |
---|
[9] | 1 | .TH NM 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | nm \- print name list
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBnm\fR [\fB\-dgnopru\fR]\fR [\fIfile\fR] ...\fR
|
---|
| 6 | .br
|
---|
| 7 | .de FL
|
---|
| 8 | .TP
|
---|
| 9 | \\fB\\$1\\fR
|
---|
| 10 | \\$2
|
---|
| 11 | ..
|
---|
| 12 | .de EX
|
---|
| 13 | .TP 20
|
---|
| 14 | \\fB\\$1\\fR
|
---|
| 15 | # \\$2
|
---|
| 16 | ..
|
---|
| 17 | .SH OPTIONS
|
---|
| 18 | .FL "\-d" "Print the offsets in decimal instead of in hex"
|
---|
| 19 | .FL "\-g" "Print only external symbols"
|
---|
| 20 | .FL "\-n" "Sort numerically rather than alphabetically"
|
---|
| 21 | .FL "\-o" "Prepend file name to each line rather than only once"
|
---|
| 22 | .FL "\-p" "Do not sort, print in symbol-table order"
|
---|
| 23 | .FL "\-r" "Sort in reverse order"
|
---|
| 24 | .FL "\-u" "Print only undefined symbols"
|
---|
| 25 | .SH EXAMPLES
|
---|
| 26 | .EX "nm \-n a.out" "Print all symbols in numerical order"
|
---|
| 27 | .EX "nm \-dg a.out" "Print globals alphabetically in decimal"
|
---|
| 28 | .SH DESCRIPTION
|
---|
| 29 | .PP
|
---|
| 30 | \fINm\fR prints the symbol table of executable files when it is available.
|
---|
| 31 | If no file is given, the symbols in \fIa.out\fR are used.
|
---|
| 32 | The format of the table
|
---|
| 33 | is somewhat compatible with the one produced by \fIasld\fR when used with
|
---|
| 34 | the \fB\-s\fR option. The symbol table can be added with \fIast\fR.
|
---|
| 35 | Assembly language files do not have symbol tables.
|
---|
| 36 | .SH "SEE ALSO"
|
---|
| 37 | .BR anm (1),
|
---|
| 38 | .BR asize (1),
|
---|
| 39 | .BR ar (1),
|
---|
| 40 | .BR size (1).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.