1 .\" Copyright (c) 1991 Free Software Foundation
2 .\" See section COPYING for conditions for redistribution
4 .TH nm 1 "5 November 1991" "cygnus support" "GNU Development Tools"
12 nm\(em\&list symbols from object files.
19 .RB "[\|" \-a | +debug-syms "\|]"
20 .RB "[\|" \-g | +extern-only "\|]"
21 .RB "[\|" \-s | +print-armap "\|]"
22 .RB "[\|" \-o | +print-file-name "\|]"
23 .RB "[\|" \-n | +numeric-sort "\|]"
24 .RB "[\|" \-p | +no-sort "\|]"
25 .RB "[\|" \-r | +reverse-sort "\|]"
26 .RB "[\|" \-u | +undefined-only "\|]"
27 .RB "[\|" "+target\ "\c
38 \& will list the symbols from object files \c
43 The long and short forms of options, shown here as alternatives, are
47 .IR "objfiles" .\|.\|.
48 Object files whose symbols are to be listed. If no object files are
49 listed as arguments, \c
59 Display debugger-only symbols; normally these are not listed.
65 Display only external symbols.
71 Don't bother to sort the symbols in any order; just print them in the
78 Sort symbols numerically by their addresses, not alphabetically by their
85 When listing symbols from archive members, include the index: a mapping
86 (stored in the archive by \c
91 contain definitions for what names.
97 Precede each symbol by the name of the input file where it was found,
98 rather than identifying the input file once only before all of its
105 Reverse the sense of the sort (whether numeric or alphabetic); let the
109 .BI "+target " "bfdname"\c
111 Specify an object code format other than your system's default format.
114 for information on listing available formats.
120 Display only undefined symbols (those external to each object file).
125 .RB "`\|" binutils "\|'"
131 The GNU Binary Utilities\c
132 \&, Roland H. Pesch (October 1991);
135 .BR ranlib "(" 1 ")."
139 Copyright (c) 1991 Free Software Foundation, Inc.
141 Permission is granted to make and distribute verbatim copies of
142 this manual provided the copyright notice and this permission notice
143 are preserved on all copies.
145 Permission is granted to copy and distribute modified versions of this
146 manual under the conditions for verbatim copying, provided that the
147 entire resulting derived work is distributed under the terms of a
148 permission notice identical to this one.
150 Permission is granted to copy and distribute translations of this
151 manual into another language, under the above conditions for modified
152 versions, except that this permission notice may be included in
153 translations approved by the Free Software Foundation instead of in
154 the original English.