HP-UX Linker and Libraries User's Guide

Table 11 For the 64-bit only syntax
Use the optionTo
+cSet the code bit for a specified segment.
+dzEnables or disables lazy swap allocation for dynamically allocated segments (such as
the stack or heap).
+mSet the modification bit for a specified segment.
+pSet the page size for a specified segment.
+siIdentify a segment using a segment index number.
+saIdentify a segment using an address.
+sallUse all segments in the file for a set of attribute modifications.
+zEnable lazy swap on a specific segment (using the second command syntax). Do not
use with non-data segments.
-zEnable run-time dereferencing of null pointers to produce a SIGSEGV signal. (This is
the complement of the -Z option.)
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 -p nor -P specified), -p,
and -P. See the nm(1) man page for a detailed description of the output formats.
Use the optionTo
-APrefix each output line with the name of the object file or archive file. Equivalent to -r.
-C64-bit mode ELF files only: Demangle C++ names before printing them.
-dDisplay the value and size of a symbol in decimal. This is the default for the default format
or the -p format. Equivalent to -t d.
-eDisplay only external and static symbols. This option is ignored (see -f).
-fDisplay full output. This option is in force by default.
-gDisplay only external (global) symbol information.
-hDo not display the output header data.
-lDistinguish between weak and global symbols by appending * to the key letter of weak
symbols. Only takes effect with -p and/or -P.
-nSort symbols by name, in ascending collation order, before they are printed. This is the default.
To turn off this option, use -N.
-NDisplay symbols in the order in which they appear in the symbol table.
-oDisplay the value and size of a symbol in octal. Equivalent to -t o.
-pDisplay information in a blank-separated output format. Each symbol name is preceded by
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 (32-bit mode SOM files only) If the
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 -p is not compatible with -P. T
text symbol U undefined
-PDisplay information in a portable output format to standard output. Note that -p is not
compatible with -P.
-q32-bit mode SOM files only: Silence some warning messages.
Viewing Symbols in an Object file with nm(1) 71