SLAU131V October 2004 – February 2020
The name utility, nm430, prints the list of names defined and referenced in an object file, executable file, or archive library. It also prints the symbol value and an indication of the kind of symbol. Hidden symbols are listed as "". To invoke the name utility, enter the following:
nm430 [-options] [input filenames] |
nm430 | is the command that invokes the name utility. | |
input filename | is an object file (.obj), executable file (.out), or archive library (.lib). | |
options | identifies the name utility options you want to use. Options are not case sensitive and can appear anywhere on the command line following the invocation. Precede each option with a hyphen (-). The name utility options are as follows: | |
--all (-a) | prints all symbols. | |
--prep_fname (-f) | prepends file name to each symbol. | |
--global (-g) | prints only global symbols. | |
--help (-h) | shows the current help screen. | |
--format:long (-l) | produces a detailed listing of the symbol information. | |
--sort:value (-n) | sorts symbols numerically rather than alphabetically. | |
--output (-o)file | outputs to the given file. | |
--sort:none (-p) | causes the name utility to not sort any symbols. | |
--quiet (-q) | (quiet mode) suppresses the banner and all progress information. | |
--sort:reverse (-r) | sorts symbols in reverse order. | |
--dynamic (-s) | lists symbols in the dynamic symbol table for an ELF object module. | |
--undefined (-u) | only prints undefined symbols. |