Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NM(I)  −  PWB/UNIX 8/20/73

NAME

nm  −  print name list

SYNOPSIS

nm [ −cnrupg ] [ name ]

DESCRIPTION

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 alphabetically.  If no file is given, the symbols in a.out are listed.  Options are:

−clist only C-style external symbols, that is those beginning with underscore ‘_’. 

−gprint only global (external) symbols

−nsort by value instead of by name

−pdon’t sort; print in symbol-table order

−rsort in reverse order

−uprint only undefined symbols. 

FILES

a.out

BUGS

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026