|
|
1.1 root 1: .TH NM 1 "7 February 1983"
2: .UC 4
3: .SH NAME
4: nm \- print name list
5: .SH SYNOPSIS
6: .B nm
7: [
8: .B \-gnopru
9: ]
10: [ file ... ]
11: .SH DESCRIPTION
12: .I Nm
13: prints the name list (symbol table) of each object
14: .I file
15: in the argument list. If an argument is an archive, a listing for each object
16: file in the archive will be produced. If no
17: .I file
18: is given, the symbols in "a.out" are listed.
19: .PP
20: Each symbol name is preceded by its value (blanks if undefined)
21: and one of the letters
22: .SM
23: .B U
24: (undefined),
25: .SM
26: .B A
27: (absolute),
28: .SM
29: .B T
30: (text segment symbol),
31: .SM
32: .B D
33: (data segment symbol),
34: .SM
35: .B B
36: (bss segment symbol),
37: .SM
38: .B C
39: (common symbol),
40: .SM
41: .B f
42: file name,
43: or
44: .B \-
45: for sdb symbol table entries (see
46: .B \-a
47: below).
48: If the symbol is local (non-external) the type letter is in lower case.
49: The output is sorted alphabetically.
50: .PP
51: Options are:
52: .TP
53: .B \-g
54: Print only global (external) symbols.
55: .TP
56: .B \-n
57: Sort numerically rather than alphabetically.
58: .TP
59: .B \-o
60: Prepend file or archive element name to each output line rather than only once.
61: .TP
62: .B \-p
63: Don't sort; print in symbol-table order.
64: .TP
65: .B \-r
66: Sort in reverse order.
67: .TP
68: .B \-u
69: Print only undefined symbols.
70: .SH SEE ALSO
71: ar(1), ar(5), a.out(5), stab(5)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.