|
|
1.1 root 1:
2:
3: nm Command nm
4:
5:
6:
7:
8: Print a program's symbol table
9:
10: nnmm [ -aaddggnnoopprrttuuxx ] _f_i_l_e ...
11:
12: The command nm prints the symbol table of each file. Each file
13: argument must be a COHERENT object module or an object library
14: built with the archiver aarr. If an argument is a library, nm
15: prints the symbol table for each member of the library.
16:
17: The first argument selects one of several options. It is
18: optional; if present, it must begin with `-'. The options are as
19: follows:
20:
21: -aa Print all symbols. Normally, nm prints names that are in C-
22: style format and ignores symbols with names inaccessible from
23: C programs.
24:
25: -dd Print only defined symbol.
26:
27: -gg Print only global symbols.
28:
29: -nn Sort numerically rather than alphabetically. nm uses unsigned
30: compares when sorting symbols with this option.
31:
32: -oo Append the file name to the beginning of each output line.
33:
34: -pp Print symbols in the order in which they appear within the
35: symbol table.
36:
37: -rr Sort in reverse-alphabetical order.
38:
39: -uu Print only undefined symbols.
40:
41: By default, nm sorts symbol names alphabetically. Each symbol is
42: followed by its value and its segment.
43:
44: ***** See Also *****
45:
46: cc, commands, ld, size, strip
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.