16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

nm<br />

-M Inserts three columns in the output before each symbol name. The format<br />

of the these columns is as follows:<br />

rmode amode compiler_options<br />

The rmode and amode column will display one of the following:<br />

24 24 bit mode<br />

31 31 bit mode<br />

64 64 bit mode<br />

ANY ANY mode<br />

MIN MIN mode<br />

--- Undetermined or not/applicable<br />

The compiler options field will show a character for each compiler option<br />

determined to be in effect or a dash if none are in affect:<br />

I Symbol is compiled with IPA. Note, IPA will not be seen when<br />

running nm against an executable because that information is no<br />

longer available.<br />

X Symbol is compiled with XPLINK.<br />

–n Is equivalent to –v.<br />

–o Displays output in octal (same as –t o).<br />

–P Displays output in a portable P<strong>OS</strong>IX-compliant format, with blanks<br />

separating the output fields.<br />

v If you specified –A and file is not a library, the format is:<br />

file: name type value size.<br />

v If you specified –A and file is a library, the format is:<br />

file [object_file] : name type value size<br />

where object_file is the object file in the library that contains the symbol<br />

being described.<br />

v If you did not specify –A, the format is:<br />

name type value size<br />

v If you did not specify the –t option, nm displays value and size in<br />

hexadecimal.<br />

v If you did not specify –A and the command line contains more than one<br />

file, or file is a library, nm displays a line preceding the list of symbols for<br />

each specified file or each object file in a specified library. If file is a<br />

library, this line has the following format:<br />

file[object_file]:<br />

If file is not a library, the format is:<br />

file:<br />

–p Does not sort output.<br />

–r Reverses sort order.<br />

–s Includes symbol size for each symbol.<br />

–t format<br />

Defines the numeric value formatting base. The format is one of d, o, or x,<br />

for decimal, octal, or hexadecimal, respectively. If this option is not used,<br />

numbers are displayed in decimal.<br />

–u Displays only undefined symbols.<br />

456 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!