1 .\" Copyright (c) 1991 Free Software Foundation
2 .\" See section COPYING for conditions for redistribution
3 .TH nm 1 "5 November 1991" "cygnus support" "GNU Development Tools"
11 nm\(em\&list symbols from object files.
18 .RB "[\|" \-a | \-\-debug\-syms "\|]"
19 .RB "[\|" \-g | \-\-extern\-only "\|]"
20 .RB "[\|" \-s | \-\-print\-armap "\|]"
21 .RB "[\|" \-o | \-\-print\-file\-name "\|]"
22 .RB "[\|" \-n | \-\-numeric\-sort "\|]"
23 .RB "[\|" \-p | \-\-no\-sort "\|]"
24 .RB "[\|" \-r | \-\-reverse\-sort "\|]"
25 .RB "[\|" \-u | \-\-undefined\-only "\|]"
26 .RB "[\|" \-\-help "\|]"
27 .RB "[\|" \-\-version "\|]"
28 .RB "[\|" "\-t \fIradix" | \-\-radix=\fIradix "\|]"
29 .RB "[\|" \-P | --portability "\|]"
30 .RB "[\|" "\-f \fIformat" | \-\-format=\fIformat "\|]"
31 .RB "[\|" "\-\-target=\fIbfdname" "\|]"
40 \& lists the symbols from object files \c
42 \&. If no object files are given as arguments, \c
49 The long and short forms of options, shown here as alternatives, are
57 .B \-\-print\-file\-name
58 Precede each symbol by the name of the input file where it was found,
59 rather than identifying the input file once only before all of its
66 Display debugger-only symbols; normally these are not listed.
70 Use the output format \fIformat\fP, which can be ``bsd'',
71 ``sysv'', or ``posix''. The default is `bsd''.
72 Only the first character of \fIformat\fP is significant; it can be
73 either upper or lower case.
79 Display only external symbols.
87 Sort symbols numerically by their addresses, not alphabetically by their
94 Don't bother to sort the symbols in any order; just print them in the
101 Use the POSIX.2 standard output format instead of the default format.
102 Equivalent to ``\-f posix''.
108 When listing symbols from archive members, include the index: a mapping
109 (stored in the archive by \c
114 contain definitions for what names.
120 Reverse the sense of the sort (whether numeric or alphabetic); let the
126 .B "\-\-radix=\fIradix"
127 Use \fIradix\fP as the radix for printing the symbol values. It must be
128 ``d'' for decimal, ``o'' for octal, or ``x'' for hexadecimal.
131 .BI "\-\-target=" "bfdname"\c
133 Specify an object code format other than your system's default format.
136 for information on listing available formats.
141 .B \-\-undefined\-only
142 Display only undefined symbols (those external to each object file).
148 Show the version number of
154 Show a summary of the options to
159 .RB "`\|" binutils "\|'"
165 The GNU Binary Utilities\c
166 \&, Roland H. Pesch (October 1991);
169 .BR ranlib "(" 1 ")."
173 Copyright (c) 1991 Free Software Foundation, Inc.
175 Permission is granted to make and distribute verbatim copies of
176 this manual provided the copyright notice and this permission notice
177 are preserved on all copies.
179 Permission is granted to copy and distribute modified versions of this
180 manual under the conditions for verbatim copying, provided that the
181 entire resulting derived work is distributed under the terms of a
182 permission notice identical to this one.
184 Permission is granted to copy and distribute translations of this
185 manual into another language, under the above conditions for modified
186 versions, except that this permission notice may be included in
187 translations approved by the Free Software Foundation instead of in
188 the original English.