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 "[\|" "\-\-target="\c
37 \& will list the symbols from object files \c
42 The long and short forms of options, shown here as alternatives, are
47 Object files whose symbols are to be listed. If no object files are
48 listed as arguments, \c
58 Display debugger-only symbols; normally these are not listed.
64 Display only external symbols.
70 Don't bother to sort the symbols in any order; just print them in the
77 Sort symbols numerically by their addresses, not alphabetically by their
84 When listing symbols from archive members, include the index: a mapping
85 (stored in the archive by \c
90 contain definitions for what names.
95 .B \-\-print\-file\-name
96 Precede each symbol by the name of the input file where it was found,
97 rather than identifying the input file once only before all of its
104 Reverse the sense of the sort (whether numeric or alphabetic); let the
108 .BI "\-\-target " "bfdname"\c
110 Specify an object code format other than your system's default format.
113 for information on listing available formats.
118 .B \-\-undefined\-only
119 Display only undefined symbols (those external to each object file).
124 .RB "`\|" binutils "\|'"
130 The GNU Binary Utilities\c
131 \&, Roland H. Pesch (October 1991);
134 .BR ranlib "(" 1 ")."
138 Copyright (c) 1991 Free Software Foundation, Inc.
140 Permission is granted to make and distribute verbatim copies of
141 this manual provided the copyright notice and this permission notice
142 are preserved on all copies.
144 Permission is granted to copy and distribute modified versions of this
145 manual under the conditions for verbatim copying, provided that the
146 entire resulting derived work is distributed under the terms of a
147 permission notice identical to this one.
149 Permission is granted to copy and distribute translations of this
150 manual into another language, under the above conditions for modified
151 versions, except that this permission notice may be included in
152 translations approved by the Free Software Foundation instead of in
153 the original English.