Rev | Line | |
---|
[9] | 1 | .TH ANM 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | anm \- print name list
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBanm \fR[\fB\-gnoprus\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 "\-g" "Global symbols only"
|
---|
| 19 | .FL "\-n" "Sort numerically"
|
---|
| 20 | .FL "\-o" "Prepend the filename to each line"
|
---|
| 21 | .FL "\-p" "No sorting\(emuse symbol table order"
|
---|
| 22 | .FL "\-r" "Sort in reverse order"
|
---|
| 23 | .FL "\-u" "List undefined symbols only"
|
---|
| 24 | .FL "\-s" "Sort in section order"
|
---|
| 25 | .SH EXAMPLES
|
---|
| 26 | .EX "anm \-gn test.o" "Print global symbols in numerical order"
|
---|
| 27 | .SH DESCRIPTION
|
---|
| 28 | .PP
|
---|
| 29 | .I Anm
|
---|
| 30 | prints the name list (symbol table) of each ACK format object
|
---|
| 31 | .I file
|
---|
| 32 | in the argument list.
|
---|
| 33 | If no file name is given, \fIa.out\fR is used.
|
---|
| 34 | Each symbol name is preceded by its value, a section indicator
|
---|
| 35 | and a type indicator.
|
---|
| 36 | The section indicators are:
|
---|
| 37 | .PP
|
---|
| 38 | .ta 0.25i 0.50i
|
---|
| 39 | .nf
|
---|
| 40 | \fBU\fR Undefined symbol
|
---|
| 41 | \fBA\fR Absolute symbol
|
---|
| 42 | \fB\-\fR Other symbol
|
---|
| 43 | .sp
|
---|
| 44 | The type indicators are:
|
---|
| 45 | .PP
|
---|
| 46 | \fBF\fR Filename
|
---|
| 47 | \fBM\fR Module name
|
---|
| 48 | \fBS\fR Section name
|
---|
| 49 | \fBE\fR External (global) symbol
|
---|
| 50 | \fB\-\fR Local symbol
|
---|
| 51 | .fi
|
---|
| 52 | .PP
|
---|
| 53 | The output is sorted alphabetically, unless otherwise specified.
|
---|
| 54 | Notice that \fIanm\fR can only be used on ACK format object files
|
---|
| 55 | (that is: \fI.o\fR and \fI.out\fR files).
|
---|
| 56 | If you want to get the name list of an executable program use
|
---|
| 57 | .I nm
|
---|
| 58 | instead.
|
---|
| 59 | .SH "SEE ALSO"
|
---|
| 60 | .BR asize (1),
|
---|
| 61 | .BR nm (1),
|
---|
| 62 | .BR ar (1),
|
---|
| 63 | .BR size (1).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.