Files
oldlinux-files/Minix/2.0.0/wwwman/man1/anm.1.html
2024-02-19 00:21:39 -05:00

124 lines
2.1 KiB
HTML

<HTML>
<HEAD>
<TITLE>anm(1)</TITLE>
</HEAD>
<BODY>
<H1>anm(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
anm - print name list
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>anm</STRONG> [<STRONG>-gnoprus</STRONG>] <EM>file</EM> ...
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-g</STRONG> Global symbols only
<STRONG>-n</STRONG> Sort numerically
<STRONG>-o</STRONG> Prepend the filename to each line
<STRONG>-p</STRONG> No sorting----use symbol table order
<STRONG>-r</STRONG> Sort in reverse order
<STRONG>-u</STRONG> List undefined symbols only
<STRONG>-s</STRONG> Sort in section order
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>anm</STRONG> <STRONG>-gn</STRONG> <STRONG>test.o</STRONG> # Print global symbols in numerical order
</PRE>
<H2>DESCRIPTION</H2><PRE>
<EM>Anm</EM> prints the name list (symbol table) of each ACK format object <EM>file</EM> in
the argument list. If no file name is given, <EM>a</EM>.<EM>out</EM> is used. Each symbol
name is preceded by its value, a section indicator and a type indicator.
The section indicators are:
<STRONG>U</STRONG> Undefined symbol
<STRONG>A</STRONG> Absolute symbol
<STRONG>-</STRONG> Other symbol
The type indicators are:
<STRONG>F</STRONG> Filename
<STRONG>M</STRONG> Module name
<STRONG>S</STRONG> Section name
<STRONG>E</STRONG> External (global) symbol
<STRONG>-</STRONG> Local symbol
The output is sorted alphabetically, unless otherwise specified. Notice
that <EM>anm</EM> can only be used on ACK format object files (that is: .<EM>o</EM> and
.<EM>out</EM> files). If you want to get the name list of an executable program
use <EM>nm</EM> instead.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man1/asize.1.html">asize(1)</A></STRONG>, <STRONG><A HREF="../man1/nm.1.html">nm(1)</A></STRONG>, <STRONG><A HREF="../man1/ar.1.html">ar(1)</A></STRONG>, <STRONG><A HREF="../man1/size.1.html">size(1)</A></STRONG>.
</PRE>
</BODY>
</HTML>