source: trunk/minix/man/man1/anm.1@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.4 KB
RevLine 
[9]1.TH ANM 1
2.SH NAME
3anm \- 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
30prints the name list (symbol table) of each ACK format object
31.I file
32in the argument list.
33If no file name is given, \fIa.out\fR is used.
34Each symbol name is preceded by its value, a section indicator
35and a type indicator.
36The 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
44The 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
53The output is sorted alphabetically, unless otherwise specified.
54Notice that \fIanm\fR can only be used on ACK format object files
55(that is: \fI.o\fR and \fI.out\fR files).
56If you want to get the name list of an executable program use
57.I nm
58instead.
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.