summaryrefslogtreecommitdiff
path: root/static/v10/man1/nm80.1
blob: ba9a0422f70bdb8a24e90a2a505325449e2f6f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.th NM80 1 03/01/77
.sh NAME
nm80  \*-  print name list
.sh SYNOPSIS
.bd nm80
[
.bd \-cnrupgfabdth
]
[ name ]
.sh DESCRIPTION
.it Nm80
prints the symbol table from the output file of an
assembler or loader run.
Each symbol name is preceded by its value (blanks if undefined)
and one of the letters:
.s1
\fBU\fR (undefined)
.br
\fBA\fR (absolute)
.br
\fBT\fR (text segment symbol)
.br
\fBD\fR (data segment symbol)
.br
\fBB\fR (bss segment symbol)
.br
\fBF\fR (file name)
.br
\fBC\fR (common symbol)
.s3
If the symbol is local (non-external)
the type letter is in lower case.
The output is sorted alphabetically.
.s3
If no file is given, the symbols in
.bd 80.out
are listed.
Absolute symbols have their values printed in octal.
Non-absolute symbols are assumed to be addresses
and are printed in a "low byte:high byte" format.
.s3
Options are:
.s3
.lp +4 4
\fB\-a\fR	list only absolute symbols
.s3
.lp +4 4
\fB\-b\fR	list only bss symbols
.s3
.lp +4 4
\fB\-c\fR	list only C-style external symbols, that is
those beginning with underscore `\*_'.
.s3
.lp +4 4
\fB\-d\fR	list only data symbols
those beginning with underscore `\*_'.
.s3
.lp +4 4
\fB\-f\fR	print only the file names.
.s3
.lp +4 4
\fB\-g\fR	print only global (external) symbols
.s3
.lp +4 4
\fB\-n\fR	sort by value instead of by name
.s3
.lp +4 4
\fB\-p\fR	don't sort; print in symbol-table order
.s3
.lp +4 4
\fB\-r\fR	sort in reverse order
.s3
.lp +4 4
\fB\-t\fR	list only text symbols
those beginning with underscore `\*_'.
.s3
.lp +4 4
\fB\-u\fR	print only undefined symbols.
.s3
.lp +4 4
\fB\-h\fR	print output in hex.
.i0
.sh FILES
80.out
.sh BUGS