Xinu7/man/man1/nm11.doc
NM11(1) Xinu Programmer's Manual NM11(1)
NAME
nm11 - print name list for object file produced by cc11
SYNOPSIS
nm11 [ -agnopru ] [ file ... ]
DESCRIPTION
_N_m_1_1 prints the name list (symbol table) of each object _f_i_l_e
in the argument list. If no _f_i_l_e is given, the symbols in
`a.out' are listed.
Each symbol name is preceded by its value (blanks if unde-
fined) and one of the letters U (undefined), A (absolute), T
(text segment symbol), D (data segment symbol), B (bss seg-
ment symbol), C (common symbol), or f file name. If the
symbol is local (non-external) the type letter is in lower
case. The output is sorted alphabetically.
Options are:
-a Include all symbols in candidates for printing; nor-
mally symbols destined for UNIX's _s_d_b(1) are excluded.
-g Print only global (external) symbols.
-n Sort numerically rather than alphabetically.
-o Prepend file or archive element name to each output
line rather than only once.
-p Don't sort; print in symbol-table order.
-r Sort in reverse order.
-u Print only undefined symbols.
Version 6b Printed 1/12/87 1