Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
nm(1) OSS Shell and Utilities Reference Manual
Operands
The file operand can be a single linkfile, loadfile, object file, an executable file, or an archive
library. If you do not specify a file operand, the symbols in the a.out file are listed by default.
An input file 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 files, the nm command writes, for each file or for
each member of an archive, the following information to the standard output file:
• Library member or object name, if the -A flag is present
• Symbol name
• Symbol type for TNS and accelerated object files:
D Global data symbol
d Local data symbol
E External function
T Global text symbol
t Local text symbol
U Undefined symbol
• Symbol type for native linkfiles or loadfiles:
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
6−50 Hewlett-Packard Company 527188-003