309
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
5. Utilities
5.1.
Symbol Table Name Utility
Name
nm68 – Sierra Systems Symbol Table Name Utility
Syntax
nm68
[-abefhnrstuvFHRTU] [-d[#[:#
|
+#]]] [
files . . . ]
Description
The nm68 utility displays the symbol table embedded in a 68000 COFF object
file, as well as information on the file header, section headers, relocation entries,
and line number entries. For detailed information on the Sierra Systems object
module format, see section 1.4 Object File Format. The zero or more files
files
specified on the command line can be either relocatable or absolute COFF object
files or libraries of relocatable or absolute object files. When a library file is
specified, the member object files are displayed as if they had been listed on the
command line individually. If no file name is specified, the file x.out is assumed.
If a file name without an extension is specified, the extension .out is assumed if
the file cannot first be found without the extension.
By default, the output from nm68 contains detailed information about each
symbol, including the symbol's name, value (address), storage class, type, size,
associated C language source file line, and section. If the original source file was
not compiled with the debug option enabled, some of the symbol information may
not be available. All values except for addresses are in decimal. Addresses
appearing in the value field are in hexadecimal (padded with leading 0's). If the
symbol is a comm variable, both the size and alignment requirements of the
comm variable appear in the value field; the size of the comm appears to the left
of the decimal point and the boundary alignment appears to the right.
Command line flags are:
-a
Print the symbol name and its value in the form of an assignment
statement such that the generated list can be inserted directly into a C or
assembly language source file or a linker command file.
-b
Suppress the header information at the start of the formatted and raw
symbol listings.