NM(I) 8/20/73 NM(I)
nm - print name list
nm [ -cnrupg ] [ name ]
Nm 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 U
(undefined) A (absolute) T (text segment symbol), D (data
segment symbol), B (bss segment symbol), or C (common
symbol). If the symbol is local (non-external) the type
letter is in lower case. The output is sorted
If no file is given, the symbols in a.out are listed.
-c list only C-style external symbols, that is those
beginning with underscore `_'.
-g print only global (external) symbols
-n sort by value instead of by name
-p don't sort; print in symbol-table order
-r sort in reverse order
-u print only undefined symbols.