arm-linux-nm.1
上传用户:szlgq88
上传日期:2009-04-28
资源大小:48287k
文件大小:14k
- ." Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
- ."
- ." Standard preamble:
- ." ========================================================================
- .de Sh " Subsection heading
- .br
- .if t .Sp
- .ne 5
- .PP
- fB\$1fR
- .PP
- ..
- .de Sp " Vertical space (when we can't use .PP)
- .if t .sp .5v
- .if n .sp
- ..
- .de Vb " Begin verbatim text
- .ft CW
- .nf
- .ne \$1
- ..
- .de Ve " End verbatim text
- .ft R
- .fi
- ..
- ." Set up some character translations and predefined strings. *(-- will
- ." give an unbreakable dash, *(PI will give pi, *(L" will give a left
- ." double quote, and *(R" will give a right double quote. | will give a
- ." real vertical bar. *(C+ will give a nicer C++. Capital omega is used to
- ." do unbreakable dashes and therefore won't be available. *(C` and *(C'
- ." expand to `' in nroff, nothing in troff, for use with C<>.
- .tr (*W-|(bv*(Tr
- .ds C+ Cv'-.1v'h'-1p's-2+h'-1p'+s0v'.1v'h'-1p'
- .ie n {
- . ds -- (*W-
- . ds PI pi
- . if (n(.H=4u)&(1m=24u) .ds -- (*Wh'-12u'(*Wh'-12u'-" diablo 10 pitch
- . if (n(.H=4u)&(1m=20u) .ds -- (*Wh'-12u'(*Wh'-8u'-" diablo 12 pitch
- . ds L" ""
- . ds R" ""
- . ds C` ""
- . ds C' ""
- 'br}
- .el{
- . ds -- |(em|
- . ds PI (*p
- . ds L" ``
- . ds R" ''
- 'br}
- ."
- ." If the F register is turned on, we'll generate index entries on stderr for
- ." titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
- ." entries marked with X<> in POD. Of course, you'll have to process the
- ." output yourself in some meaningful fashion.
- .if nF {
- . de IX
- . tm Index:\$1t\n%t"\$2"
- ..
- . nr % 0
- . rr F
- .}
- ."
- ." For nroff, turn off justification. Always turn off hyphenation; it makes
- ." way too many mistakes in technical documents.
- .hy 0
- ."
- ." Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
- ." Fear. Run. Save yourself. No user-serviceable parts.
- . " fudge factors for nroff and troff
- .if n {
- . ds #H 0
- . ds #V .8m
- . ds #F .3m
- . ds #[ f1
- . ds #] fP
- .}
- .if t {
- . ds #H ((1u-(\\n(.fu%2u))*.13m)
- . ds #V .6m
- . ds #F 0
- . ds #[ &
- . ds #] &
- .}
- . " simple accents for nroff and troff
- .if n {
- . ds ' &
- . ds ` &
- . ds ^ &
- . ds , &
- . ds ~ ~
- . ds /
- .}
- .if t {
- . ds ' \k:h'-(\n(.wu*8/10-*(#H)''h"|\n:u"
- . ds ` \k:h'-(\n(.wu*8/10-*(#H)'`h'|\n:u'
- . ds ^ \k:h'-(\n(.wu*10/11-*(#H)'^h'|\n:u'
- . ds , \k:h'-(\n(.wu*8/10)',h'|\n:u'
- . ds ~ \k:h'-(\n(.wu-*(#H-.1m)'~h'|\n:u'
- . ds / \k:h'-(\n(.wu*8/10-*(#H)'z(slh'|\n:u'
- .}
- . " troff and (daisy-wheel) nroff accents
- .ds : \k:h'-(\n(.wu*8/10-*(#H+.1m+*(#F)'v'-*(#V'z.h'.2m+*(#F'.h'|\n:u'v'*(#V'
- .ds 8 h'*(#H'(*bh'-*(#H'
- .ds o \k:h'-(\n(.wu+w'(de'u-*(#H)/2u'v'-.3n'*(#[z(dev'.3n'h'|\n:u'*(#]
- .ds d- h'*(#H'(pdh'-w'~'u'v'-.25m'f2(hyfPv'.25m'h'-*(#H'
- .ds D- D\k:h'-w'D'u'v'-.11m'z(hyv'.11m'h'|\n:u'
- .ds th *(#[v'.3m's+1Is-1v'-.3m'h'-(w'I'u*2/3)'s-1os+1*(#]
- .ds Th *(#[s+2Is-2h'-w'I'u*3/5'v'-.3m'ov'.3m'*(#]
- .ds ae ah'-(w'a'u*4/10)'e
- .ds Ae Ah'-(w'A'u*4/10)'E
- . " corrections for vroff
- .if v .ds ~ \k:h'-(\n(.wu*9/10-*(#H)'s-2u~ds+2h'|\n:u'
- .if v .ds ^ \k:h'-(\n(.wu*10/11-*(#H)'v'-.4m'^v'.4m'h'|\n:u'
- . " for low resolution devices (crt and lpr)
- .if n(.H>23 .if n(.V>19
- {
- . ds : e
- . ds 8 ss
- . ds o a
- . ds d- dh'-1'(ga
- . ds D- Dh'-1'(hy
- . ds th o'bp'
- . ds Th o'LP'
- . ds ae ae
- . ds Ae AE
- .}
- .rm #[ #] #H #V #F C
- ." ========================================================================
- ."
- .IX Title "NM 1"
- .TH NM 1 "2005-04-20" "binutils-2.15.97" "GNU Development Tools"
- .SH "NAME"
- nm - list symbols from object files
- .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- nm [fB-afR|fB--debug-symsfR] [fB-gfR|fB--extern-onlyfR]
- [fB-BfR] [fB-CfR|fB--demanglefR[=fIstylefR]] [fB-DfR|fB--dynamicfR]
- [fB-SfR|fB--print-sizefR] [fB-sfR|fB--print-armapfR]
- [fB-AfR|fB-ofR|fB--print-file-namefR][fB--special-symsfR]
- [fB-nfR|fB-vfR|fB--numeric-sortfR] [fB-pfR|fB--no-sortfR]
- [fB-rfR|fB--reverse-sortfR] [fB--size-sortfR] [fB-ufR|fB--undefined-onlyfR]
- [fB-tfR fIradixfR|fB--radix=fRfIradixfR] [fB-PfR|fB--portabilityfR]
- [fB--target=fRfIbfdnamefR] [fB-ffRfIformatfR|fB--format=fRfIformatfR]
- [fB--defined-onlyfR] [fB-lfR|fB--line-numbersfR] [fB--no-demanglefR]
- [fB-VfR|fB--versionfR] [fB-X 32_64fR] [fB--helpfR] [fIobjfilefR...]
- .SH "DESCRIPTION"
- .IX Header "DESCRIPTION"
- &s-1GNUs0 fBnmfR lists the symbols from object files fIobjfilefR....
- If no object files are listed as arguments, fBnmfR assumes the file
- &fIa.outfR.
- .PP
- For each symbol, fBnmfR shows:
- .IP "(bu" 4
- The symbol value, in the radix selected by options (see below), or
- hexadecimal by default.
- .IP "(bu" 4
- The symbol type. At least the following types are used; others are, as
- well, depending on the object file format. If lowercase, the symbol is
- local; if uppercase, the symbol is global (external).
- .RS 4
- .ie n .IP """A""" 4
- .el .IP "f(CWAfR" 4
- .IX Item "A"
- The symbol's value is absolute, and will not be changed by further
- linking.
- .ie n .IP """B""" 4
- .el .IP "f(CWBfR" 4
- .IX Item "B"
- The symbol is in the uninitialized data section (known as s-1BSSs0).
- .ie n .IP """C""" 4
- .el .IP "f(CWCfR" 4
- .IX Item "C"
- The symbol is common. Common symbols are uninitialized data. When
- linking, multiple common symbols may appear with the same name. If the
- symbol is defined anywhere, the common symbols are treated as undefined
- references.
- .ie n .IP """D""" 4
- .el .IP "f(CWDfR" 4
- .IX Item "D"
- The symbol is in the initialized data section.
- .ie n .IP """G""" 4
- .el .IP "f(CWGfR" 4
- .IX Item "G"
- The symbol is in an initialized data section for small objects. Some
- object file formats permit more efficient access to small data objects,
- such as a global int variable as opposed to a large global array.
- .ie n .IP """I""" 4
- .el .IP "f(CWIfR" 4
- .IX Item "I"
- The symbol is an indirect reference to another symbol. This is a s-1GNUs0
- extension to the a.out object file format which is rarely used.
- .ie n .IP """N""" 4
- .el .IP "f(CWNfR" 4
- .IX Item "N"
- The symbol is a debugging symbol.
- .ie n .IP """R""" 4
- .el .IP "f(CWRfR" 4
- .IX Item "R"
- The symbol is in a read only data section.
- .ie n .IP """S""" 4
- .el .IP "f(CWSfR" 4
- .IX Item "S"
- The symbol is in an uninitialized data section for small objects.
- .ie n .IP """T""" 4
- .el .IP "f(CWTfR" 4
- .IX Item "T"
- The symbol is in the text (code) section.
- .ie n .IP """U""" 4
- .el .IP "f(CWUfR" 4
- .IX Item "U"
- The symbol is undefined.
- .ie n .IP """V""" 4
- .el .IP "f(CWVfR" 4
- .IX Item "V"
- The symbol is a weak object. When a weak defined symbol is linked with
- a normal defined symbol, the normal defined symbol is used with no error.
- When a weak undefined symbol is linked and the symbol is not defined,
- the value of the weak symbol becomes zero with no error.
- .ie n .IP """W""" 4
- .el .IP "f(CWWfR" 4
- .IX Item "W"
- The symbol is a weak symbol that has not been specifically tagged as a
- weak object symbol. When a weak defined symbol is linked with a normal
- defined symbol, the normal defined symbol is used with no error.
- When a weak undefined symbol is linked and the symbol is not defined,
- the value of the symbol is determined in a system-specific manner without
- error. On some systems, uppercase indicates that a default value has been
- specified.
- .ie n .IP """-""" 4
- .el .IP "f(CW-fR" 4
- .IX Item "-"
- The symbol is a stabs symbol in an a.out object file. In this case, the
- next values printed are the stabs other field, the stabs desc field, and
- the stab type. Stabs symbols are used to hold debugging information.
- .ie n .IP """?""" 4
- .el .IP "f(CW?fR" 4
- .IX Item "?"
- The symbol type is unknown, or object file format specific.
- .RE
- .RS 4
- .RE
- .IP "(bu" 4
- The symbol name.
- .SH "OPTIONS"
- .IX Header "OPTIONS"
- The long and short forms of options, shown here as alternatives, are
- equivalent.
- .IP "fB-AfR" 4
- .IX Item "-A"
- .PD 0
- .IP "fB-ofR" 4
- .IX Item "-o"
- .IP "fB--print-file-namefR" 4
- .IX Item "--print-file-name"
- .PD
- Precede each symbol by the name of the input file (or archive member)
- in which it was found, rather than identifying the input file once only,
- before all of its symbols.
- .IP "fB-afR" 4
- .IX Item "-a"
- .PD 0
- .IP "fB--debug-symsfR" 4
- .IX Item "--debug-syms"
- .PD
- Display all symbols, even debugger-only symbols; normally these are not
- listed.
- .IP "fB-BfR" 4
- .IX Item "-B"
- The same as fB--format=bsdfR (for compatibility with the s-1MIPSs0 fBnmfR).
- .IP "fB-CfR" 4
- .IX Item "-C"
- .PD 0
- .IP "fB--demangle[=fRfIstylefRfB]fR" 4
- .IX Item "--demangle[=style]"
- .PD
- Decode (fIdemanglefR) low-level symbol names into user-level names.
- Besides removing any initial underscore prepended by the system, this
- makes *(C+ function names readable. Different compilers have different
- mangling styles. The optional demangling style argument can be used to
- choose an appropriate demangling style for your compiler.
- .IP "fB--no-demanglefR" 4
- .IX Item "--no-demangle"
- Do not demangle low-level symbol names. This is the default.
- .IP "fB-DfR" 4
- .IX Item "-D"
- .PD 0
- .IP "fB--dynamicfR" 4
- .IX Item "--dynamic"
- .PD
- Display the dynamic symbols rather than the normal symbols. This is
- only meaningful for dynamic objects, such as certain types of shared
- libraries.
- .IP "fB-ffR fIformatfR" 4
- .IX Item "-f format"
- .PD 0
- .IP "fB--format=fRfIformatfR" 4
- .IX Item "--format=format"
- .PD
- Use the output format fIformatfR, which can be f(CW*(C`bsd*(C'fR,
- &f(CW*(C`sysv*(C'fR, or f(CW*(C`posix*(C'fR. The default is f(CW*(C`bsd*(C'fR.
- Only the first character of fIformatfR is significant; it can be
- either upper or lower case.
- .IP "fB-gfR" 4
- .IX Item "-g"
- .PD 0
- .IP "fB--extern-onlyfR" 4
- .IX Item "--extern-only"
- .PD
- Display only external symbols.
- .IP "fB-lfR" 4
- .IX Item "-l"
- .PD 0
- .IP "fB--line-numbersfR" 4
- .IX Item "--line-numbers"
- .PD
- For each symbol, use debugging information to try to find a filename and
- line number. For a defined symbol, look for the line number of the
- address of the symbol. For an undefined symbol, look for the line
- number of a relocation entry which refers to the symbol. If line number
- information can be found, print it after the other symbol information.
- .IP "fB-nfR" 4
- .IX Item "-n"
- .PD 0
- .IP "fB-vfR" 4
- .IX Item "-v"
- .IP "fB--numeric-sortfR" 4
- .IX Item "--numeric-sort"
- .PD
- Sort symbols numerically by their addresses, rather than alphabetically
- by their names.
- .IP "fB-pfR" 4
- .IX Item "-p"
- .PD 0
- .IP "fB--no-sortfR" 4
- .IX Item "--no-sort"
- .PD
- Do not bother to sort the symbols in any order; print them in the order
- encountered.
- .IP "fB-PfR" 4
- .IX Item "-P"
- .PD 0
- .IP "fB--portabilityfR" 4
- .IX Item "--portability"
- .PD
- Use the s-1POSIXs0.2 standard output format instead of the default format.
- Equivalent to fB-f posixfR.
- .IP "fB-SfR" 4
- .IX Item "-S"
- .PD 0
- .IP "fB--print-sizefR" 4
- .IX Item "--print-size"
- .PD
- Print size, not the value, of defined symbols for the f(CW*(C`bsd*(C'fR output format.
- .IP "fB-sfR" 4
- .IX Item "-s"
- .PD 0
- .IP "fB--print-armapfR" 4
- .IX Item "--print-armap"
- .PD
- When listing symbols from archive members, include the index: a mapping
- (stored in the archive by fBarfR or fBranlibfR) of which modules
- contain definitions for which names.
- .IP "fB-rfR" 4
- .IX Item "-r"
- .PD 0
- .IP "fB--reverse-sortfR" 4
- .IX Item "--reverse-sort"
- .PD
- Reverse the order of the sort (whether numeric or alphabetic); let the
- last come first.
- .IP "fB--size-sortfR" 4
- .IX Item "--size-sort"
- Sort symbols by size. The size is computed as the difference between
- the value of the symbol and the value of the symbol with the next higher
- value. If the f(CW*(C`bsd*(C'fR output format is used the size of the symbol
- is printed, rather than the value, and fB-SfR must be used in order
- both size and value to be printed.
- .IP "fB--special-symsfR" 4
- .IX Item "--special-syms"
- Display symbols which have a target-specific special meaning. These
- symbols are usually used by the target for some special processing and
- are not normally helpful when included included in the normal symbol
- lists. For example for s-1ARMs0 targets this option would skip the mapping
- symbols used to mark transistions between s-1ARMs0 code, s-1THUMBs0 code and
- data.
- .IP "fB-tfR fIradixfR" 4
- .IX Item "-t radix"
- .PD 0
- .IP "fB--radix=fRfIradixfR" 4
- .IX Item "--radix=radix"
- .PD
- Use fIradixfR as the radix for printing the symbol values. It must be
- &fBdfR for decimal, fBofR for octal, or fBxfR for hexadecimal.
- .IP "fB--target=fRfIbfdnamefR" 4
- .IX Item "--target=bfdname"
- Specify an object code format other than your system's default format.
- .IP "fB-ufR" 4
- .IX Item "-u"
- .PD 0
- .IP "fB--undefined-onlyfR" 4
- .IX Item "--undefined-only"
- .PD
- Display only undefined symbols (those external to each object file).
- .IP "fB--defined-onlyfR" 4
- .IX Item "--defined-only"
- Display only defined symbols for each object file.
- .IP "fB-VfR" 4
- .IX Item "-V"
- .PD 0
- .IP "fB--versionfR" 4
- .IX Item "--version"
- .PD
- Show the version number of fBnmfR and exit.
- .IP "fB-XfR" 4
- .IX Item "-X"
- This option is ignored for compatibility with the s-1AIXs0 version of
- &fBnmfR. It takes one parameter which must be the string
- &fB32_64fR. The default mode of s-1AIXs0 fBnmfR corresponds
- to fB-X 32fR, which is not supported by s-1GNUs0 fBnmfR.
- .IP "fB--helpfR" 4
- .IX Item "--help"
- Show a summary of the options to fBnmfR and exit.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
- &fIarfR|(1), fIobjdumpfR|(1), fIranlibfR|(1), and the Info entries for fIbinutilsfR.
- .SH "COPYRIGHT"
- .IX Header "COPYRIGHT"
- Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
- .PP
- Permission is granted to copy, distribute and/or modify this document
- under the terms of the s-1GNUs0 Free Documentation License, Version 1.1
- or any later version published by the Free Software Foundation;
- with no Invariant Sections, with no Front-Cover Texts, and with no
- Back-Cover Texts. A copy of the license is included in the
- section entitled ``s-1GNUs0 Free Documentation License''.