Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

nm(1) OSS Shell and Utilities Reference Manual
Operands
The le operand can be a single linkle, loadle, object le, an executable le, or an archive
library. If you do not specify a le operand, the symbols in the a.out le are listed by default.
An input le must have a format that is the same as those produced by the Binder, ld, eld, nld,or
ar utility to be used for linking.
Environment Variables
This utility supports the use of the LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and
NLSPATH environment variables.
Standard Output
If symbolic information is present in the input les, the nm command writes, for each le or for
each member of an archive, the following information to the standard output le:
Library member or object name, if the -A ag is present
Symbol name
Symbol type for TNS and accelerated object les:
D Global data symbol
d Local data symbol
E External function
T Global text symbol
t Local text symbol
U Undened symbol
Symbol type for native linkles or loadles:
A External absolute
a Local absolute
B External zeroed data (TNS/R) or Global zeroed data (TNS/E)
b Local zeroed data
C Common
D Global data symbol (TNS/R) or Global data (TNS/E)
d Local data symbol (TNS/R) or local data (TNS/E)
E External function
e HP entry vector (TNS/R only)
F Fini section or HP resident text (TNS/R) or Global function section
(TNS/E)
f Local function (TNS/E only)
G External small initialized data (TNS/R) or Global small intialized data
(TNS/E)
g Local small initialized data
650 Hewlett-Packard Company 527188-004