gnm960/nam960 Name Lister
The gnm960/nam960 name lister is a symbol dumper: it prints the
name list (symbol table entries) of each specified object or object
library file. For libraries, a symbol table listing is produced
for each member of the library. The information listed includes,
for each symbol: value, class, type, size, line number, and section
name.
The invocation command is:
gnm960
| nam960 [ -option ]... [ file ]...
Each option must be preceded by a -
character. (On DOS, you can also use a /
character.) The options are listed below.
file specifies
the file or library to be operated on. If file
is omitted, a.out,
b.out,
and e.out
are tried, in that order.
Options
- a
Prints the debug symbols.
- d
Displays numbers in decimal.
- e
Prints only global (external) symbols.
- f
Produces full output, including .text, .data,
and .bss symbols, which are normally suppressed.
- g
Prints only global (external) symbols. This is
equivalent to the e
option.
- h
Removes header information in the listing.
- help
Displays help information.
- n
Sorts symbols alphabetically.
- o
Displays numbers in octal.
- p
Prints symbol value, type code and name in three-column
format. Each symbol name is preceded by its value (blanks if undefined)
and a letter, listed below. If the symbol is local (non-external),
the type letter is in lower case.
- U undefined
- A absolute
- T text
section symbol
- D data
section symbol
- B bss
section symbol
- C common
symbol
- O any
other section; COFF files only
- f file
name
- ? debugger
symbol table entries (see a)
- R
Sorts symbols in reverse (downward alphabetic
or numeric) order.
- r
Prepends the file or library element name to each
output line.
- s
Describes the archive symbol map data in any input
libraries.
- T
Truncates names to keep symbol names within column
widths.
- u
Prints undefined symbols only.
- V
Prints version information about gnm960 or nam960
on stdout
and proceeds in processing the rest of the options specified.
- v
Sorts by numerical value.
- v960
Prints version information about gnm960 or nam960
on stdout
and exits.
- x
Displays numbers in hexadecimal (this is the default).
Return
to the top of this page.
Go
to the ic960 Interface Index.
Go
to the gcc960 Interface Index.