Table 11 For the
To | Use the option |
|
|
Set the code bit for a specified segment. | +c |
|
|
Enables or disables lazy swap allocation for dynamically allocated segments (such as | +dz |
the stack or heap). |
|
|
|
Set the modification bit for a specified segment. | +m |
|
|
Set the page size for a specified segment. | +p |
|
|
Identify a segment using a segment index number. | +si |
|
|
Identify a segment using an address. | +sa |
|
|
Use all segments in the file for a set of attribute modifications. | +sall |
|
|
Enable lazy swap on a specific segment (using the second command syntax). Do not | +z |
use with |
|
|
|
Enable | |
the complement of the |
|
|
|
Viewing Symbols in an Object file with nm(1)
The nm command displays the symbol table of each specified object. The file can be a relocatable object file or an executable object file, or an archive of relocatable or executable object files. The nm command provides three general output formats: the default (neither
To | Use the option |
|
|
Prefix each output line with the name of the object file or archive file. Equivalent to | |
|
|
|
|
Display the value and size of a symbol in decimal. This is the default for the default format | |
or the |
|
|
|
Display only external and static symbols. This option is ignored (see | |
|
|
Display full output. This option is in force by default. | |
|
|
Display only external (global) symbol information. | |
|
|
Do not display the output header data. | |
|
|
Distinguish between weak and global symbols by appending * to the key letter of weak | |
symbols. Only takes effect with |
|
|
|
Sort symbols by name, in ascending collation order, before they are printed. This is the default. | |
To turn off this option, use |
|
|
|
Display symbols in the order in which they appear in the symbol table. | |
|
|
Display the value and size of a symbol in octal. Equivalent to | |
|
|
Display information in a | |
its value (blanks if undefined) and one of the letters. A absolute B bss symbol C common |
|
symbol D data symbol R section region S tstorage symbol |
|
symbol is local (nonexternal), the type letter is in lowercase. If the symbol is a secondary |
|
definition, the type letter is followed by the letter S. Note that |
|
text symbol U undefined |
|
|
|
Display information in a portable output format to standard output. Note that | |
compatible with |
|
|
|
|
|
Viewing Symbols in an Object file with nm(1) 71