Unix |
Unix v6 |
|
![]() |
nm(1) |
![]() |
nm print name list [ ] [ name ] 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 are listed. Options are: −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. a.out
![]() |
nm(1) | ![]() |