OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [binutils/] [doc/] [nm.1] - Diff between revs 38 and 156

Only display areas with differences | Details | Blame | View Log

Rev 38 Rev 156
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
.\"
.\"
.\" Standard preamble:
.\" Standard preamble:
.\" ========================================================================
.\" ========================================================================
.de Sh \" Subsection heading
.de Sh \" Subsection heading
.br
.br
.if t .Sp
.if t .Sp
.ne 5
.ne 5
.PP
.PP
\fB\\$1\fR
\fB\\$1\fR
.PP
.PP
..
..
.de Sp \" Vertical space (when we can't use .PP)
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if t .sp .5v
.if n .sp
.if n .sp
..
..
.de Vb \" Begin verbatim text
.de Vb \" Begin verbatim text
.ft CW
.ft CW
.nf
.nf
.ne \\$1
.ne \\$1
..
..
.de Ve \" End verbatim text
.de Ve \" End verbatim text
.ft R
.ft R
.fi
.fi
..
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" 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
.\" 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
.\" 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'
.\" do unbreakable dashes and therefore won't be available.  \*(C` and \*(C'
.\" expand to `' in nroff, nothing in troff, for use with C<>.
.\" expand to `' in nroff, nothing in troff, for use with C<>.
.tr \(*W-|\(bv\*(Tr
.tr \(*W-|\(bv\*(Tr
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.ie n \{\
.    ds -- \(*W-
.    ds -- \(*W-
.    ds PI pi
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds L" ""
.    ds R" ""
.    ds R" ""
.    ds C` ""
.    ds C` ""
.    ds C' ""
.    ds C' ""
'br\}
'br\}
.el\{\
.el\{\
.    ds -- \|\(em\|
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds PI \(*p
.    ds L" ``
.    ds L" ``
.    ds R" ''
.    ds R" ''
'br\}
'br\}
.\"
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" 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
.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\" output yourself in some meaningful fashion.
.if \nF \{\
.if \nF \{\
.    de IX
.    de IX
.    tm Index:\\$1\t\\n%\t"\\$2"
.    tm Index:\\$1\t\\n%\t"\\$2"
..
..
.    nr % 0
.    nr % 0
.    rr F
.    rr F
.\}
.\}
.\"
.\"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.\" way too many mistakes in technical documents.
.hy 0
.hy 0
.\"
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
.    \" fudge factors for nroff and troff
.    \" fudge factors for nroff and troff
.if n \{\
.if n \{\
.    ds #H 0
.    ds #H 0
.    ds #V .8m
.    ds #V .8m
.    ds #F .3m
.    ds #F .3m
.    ds #[ \f1
.    ds #[ \f1
.    ds #] \fP
.    ds #] \fP
.\}
.\}
.if t \{\
.if t \{\
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
.    ds #V .6m
.    ds #V .6m
.    ds #F 0
.    ds #F 0
.    ds #[ \&
.    ds #[ \&
.    ds #] \&
.    ds #] \&
.\}
.\}
.    \" simple accents for nroff and troff
.    \" simple accents for nroff and troff
.if n \{\
.if n \{\
.    ds ' \&
.    ds ' \&
.    ds ` \&
.    ds ` \&
.    ds ^ \&
.    ds ^ \&
.    ds , \&
.    ds , \&
.    ds ~ ~
.    ds ~ ~
.    ds /
.    ds /
.\}
.\}
.if t \{\
.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*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*10/11-\*(#H)'^\h'|\\n:u'
.    ds , \\k:\h'-(\\n(.wu*8/10)',\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-\*(#H-.1m)'~\h'|\\n:u'
.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
.\}
.    \" troff and (daisy-wheel) nroff accents
.    \" 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 : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
.ds Ae A\h'-(\w'A'u*4/10)'E
.    \" corrections for vroff
.    \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\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)
.    \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
.if \n(.H>23 .if \n(.V>19 \
\{\
\{\
.    ds : e
.    ds : e
.    ds 8 ss
.    ds 8 ss
.    ds o a
.    ds o a
.    ds d- d\h'-1'\(ga
.    ds d- d\h'-1'\(ga
.    ds D- D\h'-1'\(hy
.    ds D- D\h'-1'\(hy
.    ds th \o'bp'
.    ds th \o'bp'
.    ds Th \o'LP'
.    ds Th \o'LP'
.    ds ae ae
.    ds ae ae
.    ds Ae AE
.    ds Ae AE
.\}
.\}
.rm #[ #] #H #V #F C
.rm #[ #] #H #V #F C
.\" ========================================================================
.\" ========================================================================
.\"
.\"
.IX Title "NM 1"
.IX Title "NM 1"
.TH NM 1 "2008-05-06" "binutils-2.18.50" "GNU Development Tools"
.TH NM 1 "2008-05-06" "binutils-2.18.50" "GNU Development Tools"
.SH "NAME"
.SH "NAME"
nm \- list symbols from object files
nm \- list symbols from object files
.SH "SYNOPSIS"
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.IX Header "SYNOPSIS"
nm [\fB\-a\fR|\fB\-\-debug\-syms\fR] [\fB\-g\fR|\fB\-\-extern\-only\fR]
nm [\fB\-a\fR|\fB\-\-debug\-syms\fR] [\fB\-g\fR|\fB\-\-extern\-only\fR]
   [\fB\-B\fR] [\fB\-C\fR|\fB\-\-demangle\fR[=\fIstyle\fR]] [\fB\-D\fR|\fB\-\-dynamic\fR]
   [\fB\-B\fR] [\fB\-C\fR|\fB\-\-demangle\fR[=\fIstyle\fR]] [\fB\-D\fR|\fB\-\-dynamic\fR]
   [\fB\-S\fR|\fB\-\-print\-size\fR] [\fB\-s\fR|\fB\-\-print\-armap\fR]
   [\fB\-S\fR|\fB\-\-print\-size\fR] [\fB\-s\fR|\fB\-\-print\-armap\fR]
   [\fB\-A\fR|\fB\-o\fR|\fB\-\-print\-file\-name\fR][\fB\-\-special\-syms\fR]
   [\fB\-A\fR|\fB\-o\fR|\fB\-\-print\-file\-name\fR][\fB\-\-special\-syms\fR]
   [\fB\-n\fR|\fB\-v\fR|\fB\-\-numeric\-sort\fR] [\fB\-p\fR|\fB\-\-no\-sort\fR]
   [\fB\-n\fR|\fB\-v\fR|\fB\-\-numeric\-sort\fR] [\fB\-p\fR|\fB\-\-no\-sort\fR]
   [\fB\-r\fR|\fB\-\-reverse\-sort\fR] [\fB\-\-size\-sort\fR] [\fB\-u\fR|\fB\-\-undefined\-only\fR]
   [\fB\-r\fR|\fB\-\-reverse\-sort\fR] [\fB\-\-size\-sort\fR] [\fB\-u\fR|\fB\-\-undefined\-only\fR]
   [\fB\-t\fR \fIradix\fR|\fB\-\-radix=\fR\fIradix\fR] [\fB\-P\fR|\fB\-\-portability\fR]
   [\fB\-t\fR \fIradix\fR|\fB\-\-radix=\fR\fIradix\fR] [\fB\-P\fR|\fB\-\-portability\fR]
   [\fB\-\-target=\fR\fIbfdname\fR] [\fB\-f\fR\fIformat\fR|\fB\-\-format=\fR\fIformat\fR]
   [\fB\-\-target=\fR\fIbfdname\fR] [\fB\-f\fR\fIformat\fR|\fB\-\-format=\fR\fIformat\fR]
   [\fB\-\-defined\-only\fR] [\fB\-l\fR|\fB\-\-line\-numbers\fR] [\fB\-\-no\-demangle\fR]
   [\fB\-\-defined\-only\fR] [\fB\-l\fR|\fB\-\-line\-numbers\fR] [\fB\-\-no\-demangle\fR]
   [\fB\-V\fR|\fB\-\-version\fR] [\fB\-X 32_64\fR] [\fB\-\-help\fR]  [\fIobjfile\fR...]
   [\fB\-V\fR|\fB\-\-version\fR] [\fB\-X 32_64\fR] [\fB\-\-help\fR]  [\fIobjfile\fR...]
.SH "DESCRIPTION"
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\s-1GNU\s0 \fBnm\fR lists the symbols from object files \fIobjfile\fR....
\&\s-1GNU\s0 \fBnm\fR lists the symbols from object files \fIobjfile\fR....
If no object files are listed as arguments, \fBnm\fR assumes the file
If no object files are listed as arguments, \fBnm\fR assumes the file
\&\fIa.out\fR.
\&\fIa.out\fR.
.PP
.PP
For each symbol, \fBnm\fR shows:
For each symbol, \fBnm\fR shows:
.IP "\(bu" 4
.IP "\(bu" 4
The symbol value, in the radix selected by options (see below), or
The symbol value, in the radix selected by options (see below), or
hexadecimal by default.
hexadecimal by default.
.IP "\(bu" 4
.IP "\(bu" 4
The symbol type.  At least the following types are used; others are, as
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
well, depending on the object file format.  If lowercase, the symbol is
local; if uppercase, the symbol is global (external).
local; if uppercase, the symbol is global (external).
.RS 4
.RS 4
.ie n .IP """A""" 4
.ie n .IP """A""" 4
.el .IP "\f(CWA\fR" 4
.el .IP "\f(CWA\fR" 4
.IX Item "A"
.IX Item "A"
The symbol's value is absolute, and will not be changed by further
The symbol's value is absolute, and will not be changed by further
linking.
linking.
.ie n .IP """B""" 4
.ie n .IP """B""" 4
.el .IP "\f(CWB\fR" 4
.el .IP "\f(CWB\fR" 4
.IX Item "B"
.IX Item "B"
.PD 0
.PD 0
.ie n .IP """b""" 4
.ie n .IP """b""" 4
.el .IP "\f(CWb\fR" 4
.el .IP "\f(CWb\fR" 4
.IX Item "b"
.IX Item "b"
.PD
.PD
The symbol is in the uninitialized data section (known as \s-1BSS\s0).
The symbol is in the uninitialized data section (known as \s-1BSS\s0).
.ie n .IP """C""" 4
.ie n .IP """C""" 4
.el .IP "\f(CWC\fR" 4
.el .IP "\f(CWC\fR" 4
.IX Item "C"
.IX Item "C"
The symbol is common.  Common symbols are uninitialized data.  When
The symbol is common.  Common symbols are uninitialized data.  When
linking, multiple common symbols may appear with the same name.  If the
linking, multiple common symbols may appear with the same name.  If the
symbol is defined anywhere, the common symbols are treated as undefined
symbol is defined anywhere, the common symbols are treated as undefined
references.
references.
.ie n .IP """D""" 4
.ie n .IP """D""" 4
.el .IP "\f(CWD\fR" 4
.el .IP "\f(CWD\fR" 4
.IX Item "D"
.IX Item "D"
.PD 0
.PD 0
.ie n .IP """d""" 4
.ie n .IP """d""" 4
.el .IP "\f(CWd\fR" 4
.el .IP "\f(CWd\fR" 4
.IX Item "d"
.IX Item "d"
.PD
.PD
The symbol is in the initialized data section.
The symbol is in the initialized data section.
.ie n .IP """G""" 4
.ie n .IP """G""" 4
.el .IP "\f(CWG\fR" 4
.el .IP "\f(CWG\fR" 4
.IX Item "G"
.IX Item "G"
.PD 0
.PD 0
.ie n .IP """g""" 4
.ie n .IP """g""" 4
.el .IP "\f(CWg\fR" 4
.el .IP "\f(CWg\fR" 4
.IX Item "g"
.IX Item "g"
.PD
.PD
The symbol is in an initialized data section for small objects.  Some
The symbol is in an initialized data section for small objects.  Some
object file formats permit more efficient access to small data objects,
object file formats permit more efficient access to small data objects,
such as a global int variable as opposed to a large global array.
such as a global int variable as opposed to a large global array.
.ie n .IP """I""" 4
.ie n .IP """I""" 4
.el .IP "\f(CWI\fR" 4
.el .IP "\f(CWI\fR" 4
.IX Item "I"
.IX Item "I"
The symbol is an indirect reference to another symbol.  This is a \s-1GNU\s0
The symbol is an indirect reference to another symbol.  This is a \s-1GNU\s0
extension to the a.out object file format which is rarely used.
extension to the a.out object file format which is rarely used.
.ie n .IP """i""" 4
.ie n .IP """i""" 4
.el .IP "\f(CWi\fR" 4
.el .IP "\f(CWi\fR" 4
.IX Item "i"
.IX Item "i"
The symbol is in a section specific to the implementation of DLLs.
The symbol is in a section specific to the implementation of DLLs.
.ie n .IP """N""" 4
.ie n .IP """N""" 4
.el .IP "\f(CWN\fR" 4
.el .IP "\f(CWN\fR" 4
.IX Item "N"
.IX Item "N"
The symbol is a debugging symbol.
The symbol is a debugging symbol.
.ie n .IP """p""" 4
.ie n .IP """p""" 4
.el .IP "\f(CWp\fR" 4
.el .IP "\f(CWp\fR" 4
.IX Item "p"
.IX Item "p"
The symbols is in a stack unwind section.
The symbols is in a stack unwind section.
.ie n .IP """R""" 4
.ie n .IP """R""" 4
.el .IP "\f(CWR\fR" 4
.el .IP "\f(CWR\fR" 4
.IX Item "R"
.IX Item "R"
.PD 0
.PD 0
.ie n .IP """r""" 4
.ie n .IP """r""" 4
.el .IP "\f(CWr\fR" 4
.el .IP "\f(CWr\fR" 4
.IX Item "r"
.IX Item "r"
.PD
.PD
The symbol is in a read only data section.
The symbol is in a read only data section.
.ie n .IP """S""" 4
.ie n .IP """S""" 4
.el .IP "\f(CWS\fR" 4
.el .IP "\f(CWS\fR" 4
.IX Item "S"
.IX Item "S"
.PD 0
.PD 0
.ie n .IP """s""" 4
.ie n .IP """s""" 4
.el .IP "\f(CWs\fR" 4
.el .IP "\f(CWs\fR" 4
.IX Item "s"
.IX Item "s"
.PD
.PD
The symbol is in an uninitialized data section for small objects.
The symbol is in an uninitialized data section for small objects.
.ie n .IP """T""" 4
.ie n .IP """T""" 4
.el .IP "\f(CWT\fR" 4
.el .IP "\f(CWT\fR" 4
.IX Item "T"
.IX Item "T"
.PD 0
.PD 0
.ie n .IP """t""" 4
.ie n .IP """t""" 4
.el .IP "\f(CWt\fR" 4
.el .IP "\f(CWt\fR" 4
.IX Item "t"
.IX Item "t"
.PD
.PD
The symbol is in the text (code) section.
The symbol is in the text (code) section.
.ie n .IP """U""" 4
.ie n .IP """U""" 4
.el .IP "\f(CWU\fR" 4
.el .IP "\f(CWU\fR" 4
.IX Item "U"
.IX Item "U"
The symbol is undefined.
The symbol is undefined.
.ie n .IP """V""" 4
.ie n .IP """V""" 4
.el .IP "\f(CWV\fR" 4
.el .IP "\f(CWV\fR" 4
.IX Item "V"
.IX Item "V"
.PD 0
.PD 0
.ie n .IP """v""" 4
.ie n .IP """v""" 4
.el .IP "\f(CWv\fR" 4
.el .IP "\f(CWv\fR" 4
.IX Item "v"
.IX Item "v"
.PD
.PD
The symbol is a weak object.  When a weak defined symbol is linked with
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.
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,
When a weak undefined symbol is linked and the symbol is not defined,
the value of the weak symbol becomes zero with no error.  On some
the value of the weak symbol becomes zero with no error.  On some
systems, uppercase indicates that a default value has been specified.
systems, uppercase indicates that a default value has been specified.
.ie n .IP """W""" 4
.ie n .IP """W""" 4
.el .IP "\f(CWW\fR" 4
.el .IP "\f(CWW\fR" 4
.IX Item "W"
.IX Item "W"
.PD 0
.PD 0
.ie n .IP """w""" 4
.ie n .IP """w""" 4
.el .IP "\f(CWw\fR" 4
.el .IP "\f(CWw\fR" 4
.IX Item "w"
.IX Item "w"
.PD
.PD
The symbol is a weak symbol that has not been specifically tagged as a
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
weak object symbol.  When a weak defined symbol is linked with a normal
defined symbol, the normal defined symbol is used with no error.
defined symbol, the normal defined symbol is used with no error.
When a weak undefined symbol is linked and the symbol is not defined,
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
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
error.  On some systems, uppercase indicates that a default value has been
specified.
specified.
.ie n .IP """\-""" 4
.ie n .IP """\-""" 4
.el .IP "\f(CW\-\fR" 4
.el .IP "\f(CW\-\fR" 4
.IX Item "-"
.IX Item "-"
The symbol is a stabs symbol in an a.out object file.  In this case, the
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
next values printed are the stabs other field, the stabs desc field, and
the stab type.  Stabs symbols are used to hold debugging information.
the stab type.  Stabs symbols are used to hold debugging information.
.ie n .IP """?""" 4
.ie n .IP """?""" 4
.el .IP "\f(CW?\fR" 4
.el .IP "\f(CW?\fR" 4
.IX Item "?"
.IX Item "?"
The symbol type is unknown, or object file format specific.
The symbol type is unknown, or object file format specific.
.RE
.RE
.RS 4
.RS 4
.RE
.RE
.IP "\(bu" 4
.IP "\(bu" 4
The symbol name.
The symbol name.
.SH "OPTIONS"
.SH "OPTIONS"
.IX Header "OPTIONS"
.IX Header "OPTIONS"
The long and short forms of options, shown here as alternatives, are
The long and short forms of options, shown here as alternatives, are
equivalent.
equivalent.
.IP "\fB\-A\fR" 4
.IP "\fB\-A\fR" 4
.IX Item "-A"
.IX Item "-A"
.PD 0
.PD 0
.IP "\fB\-o\fR" 4
.IP "\fB\-o\fR" 4
.IX Item "-o"
.IX Item "-o"
.IP "\fB\-\-print\-file\-name\fR" 4
.IP "\fB\-\-print\-file\-name\fR" 4
.IX Item "--print-file-name"
.IX Item "--print-file-name"
.PD
.PD
Precede each symbol by the name of the input file (or archive member)
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,
in which it was found, rather than identifying the input file once only,
before all of its symbols.
before all of its symbols.
.IP "\fB\-a\fR" 4
.IP "\fB\-a\fR" 4
.IX Item "-a"
.IX Item "-a"
.PD 0
.PD 0
.IP "\fB\-\-debug\-syms\fR" 4
.IP "\fB\-\-debug\-syms\fR" 4
.IX Item "--debug-syms"
.IX Item "--debug-syms"
.PD
.PD
Display all symbols, even debugger-only symbols; normally these are not
Display all symbols, even debugger-only symbols; normally these are not
listed.
listed.
.IP "\fB\-B\fR" 4
.IP "\fB\-B\fR" 4
.IX Item "-B"
.IX Item "-B"
The same as \fB\-\-format=bsd\fR (for compatibility with the \s-1MIPS\s0 \fBnm\fR).
The same as \fB\-\-format=bsd\fR (for compatibility with the \s-1MIPS\s0 \fBnm\fR).
.IP "\fB\-C\fR" 4
.IP "\fB\-C\fR" 4
.IX Item "-C"
.IX Item "-C"
.PD 0
.PD 0
.IP "\fB\-\-demangle[=\fR\fIstyle\fR\fB]\fR" 4
.IP "\fB\-\-demangle[=\fR\fIstyle\fR\fB]\fR" 4
.IX Item "--demangle[=style]"
.IX Item "--demangle[=style]"
.PD
.PD
Decode (\fIdemangle\fR) low-level symbol names into user-level names.
Decode (\fIdemangle\fR) low-level symbol names into user-level names.
Besides removing any initial underscore prepended by the system, this
Besides removing any initial underscore prepended by the system, this
makes \*(C+ function names readable. Different compilers have different
makes \*(C+ function names readable. Different compilers have different
mangling styles. The optional demangling style argument can be used to
mangling styles. The optional demangling style argument can be used to
choose an appropriate demangling style for your compiler.
choose an appropriate demangling style for your compiler.
.IP "\fB\-\-no\-demangle\fR" 4
.IP "\fB\-\-no\-demangle\fR" 4
.IX Item "--no-demangle"
.IX Item "--no-demangle"
Do not demangle low-level symbol names.  This is the default.
Do not demangle low-level symbol names.  This is the default.
.IP "\fB\-D\fR" 4
.IP "\fB\-D\fR" 4
.IX Item "-D"
.IX Item "-D"
.PD 0
.PD 0
.IP "\fB\-\-dynamic\fR" 4
.IP "\fB\-\-dynamic\fR" 4
.IX Item "--dynamic"
.IX Item "--dynamic"
.PD
.PD
Display the dynamic symbols rather than the normal symbols.  This is
Display the dynamic symbols rather than the normal symbols.  This is
only meaningful for dynamic objects, such as certain types of shared
only meaningful for dynamic objects, such as certain types of shared
libraries.
libraries.
.IP "\fB\-f\fR \fIformat\fR" 4
.IP "\fB\-f\fR \fIformat\fR" 4
.IX Item "-f format"
.IX Item "-f format"
.PD 0
.PD 0
.IP "\fB\-\-format=\fR\fIformat\fR" 4
.IP "\fB\-\-format=\fR\fIformat\fR" 4
.IX Item "--format=format"
.IX Item "--format=format"
.PD
.PD
Use the output format \fIformat\fR, which can be \f(CW\*(C`bsd\*(C'\fR,
Use the output format \fIformat\fR, 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.
\&\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 \fIformat\fR is significant; it can be
Only the first character of \fIformat\fR is significant; it can be
either upper or lower case.
either upper or lower case.
.IP "\fB\-g\fR" 4
.IP "\fB\-g\fR" 4
.IX Item "-g"
.IX Item "-g"
.PD 0
.PD 0
.IP "\fB\-\-extern\-only\fR" 4
.IP "\fB\-\-extern\-only\fR" 4
.IX Item "--extern-only"
.IX Item "--extern-only"
.PD
.PD
Display only external symbols.
Display only external symbols.
.IP "\fB\-l\fR" 4
.IP "\fB\-l\fR" 4
.IX Item "-l"
.IX Item "-l"
.PD 0
.PD 0
.IP "\fB\-\-line\-numbers\fR" 4
.IP "\fB\-\-line\-numbers\fR" 4
.IX Item "--line-numbers"
.IX Item "--line-numbers"
.PD
.PD
For each symbol, use debugging information to try to find a filename and
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
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
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
number of a relocation entry which refers to the symbol.  If line number
information can be found, print it after the other symbol information.
information can be found, print it after the other symbol information.
.IP "\fB\-n\fR" 4
.IP "\fB\-n\fR" 4
.IX Item "-n"
.IX Item "-n"
.PD 0
.PD 0
.IP "\fB\-v\fR" 4
.IP "\fB\-v\fR" 4
.IX Item "-v"
.IX Item "-v"
.IP "\fB\-\-numeric\-sort\fR" 4
.IP "\fB\-\-numeric\-sort\fR" 4
.IX Item "--numeric-sort"
.IX Item "--numeric-sort"
.PD
.PD
Sort symbols numerically by their addresses, rather than alphabetically
Sort symbols numerically by their addresses, rather than alphabetically
by their names.
by their names.
.IP "\fB\-p\fR" 4
.IP "\fB\-p\fR" 4
.IX Item "-p"
.IX Item "-p"
.PD 0
.PD 0
.IP "\fB\-\-no\-sort\fR" 4
.IP "\fB\-\-no\-sort\fR" 4
.IX Item "--no-sort"
.IX Item "--no-sort"
.PD
.PD
Do not bother to sort the symbols in any order; print them in the order
Do not bother to sort the symbols in any order; print them in the order
encountered.
encountered.
.IP "\fB\-P\fR" 4
.IP "\fB\-P\fR" 4
.IX Item "-P"
.IX Item "-P"
.PD 0
.PD 0
.IP "\fB\-\-portability\fR" 4
.IP "\fB\-\-portability\fR" 4
.IX Item "--portability"
.IX Item "--portability"
.PD
.PD
Use the \s-1POSIX\s0.2 standard output format instead of the default format.
Use the \s-1POSIX\s0.2 standard output format instead of the default format.
Equivalent to \fB\-f posix\fR.
Equivalent to \fB\-f posix\fR.
.IP "\fB\-S\fR" 4
.IP "\fB\-S\fR" 4
.IX Item "-S"
.IX Item "-S"
.PD 0
.PD 0
.IP "\fB\-\-print\-size\fR" 4
.IP "\fB\-\-print\-size\fR" 4
.IX Item "--print-size"
.IX Item "--print-size"
.PD
.PD
Print size, not the value, of defined symbols for the \f(CW\*(C`bsd\*(C'\fR output format.
Print size, not the value, of defined symbols for the \f(CW\*(C`bsd\*(C'\fR output format.
.IP "\fB\-s\fR" 4
.IP "\fB\-s\fR" 4
.IX Item "-s"
.IX Item "-s"
.PD 0
.PD 0
.IP "\fB\-\-print\-armap\fR" 4
.IP "\fB\-\-print\-armap\fR" 4
.IX Item "--print-armap"
.IX Item "--print-armap"
.PD
.PD
When listing symbols from archive members, include the index: a mapping
When listing symbols from archive members, include the index: a mapping
(stored in the archive by \fBar\fR or \fBranlib\fR) of which modules
(stored in the archive by \fBar\fR or \fBranlib\fR) of which modules
contain definitions for which names.
contain definitions for which names.
.IP "\fB\-r\fR" 4
.IP "\fB\-r\fR" 4
.IX Item "-r"
.IX Item "-r"
.PD 0
.PD 0
.IP "\fB\-\-reverse\-sort\fR" 4
.IP "\fB\-\-reverse\-sort\fR" 4
.IX Item "--reverse-sort"
.IX Item "--reverse-sort"
.PD
.PD
Reverse the order of the sort (whether numeric or alphabetic); let the
Reverse the order of the sort (whether numeric or alphabetic); let the
last come first.
last come first.
.IP "\fB\-\-size\-sort\fR" 4
.IP "\fB\-\-size\-sort\fR" 4
.IX Item "--size-sort"
.IX Item "--size-sort"
Sort symbols by size.  The size is computed as the difference between
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
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
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\-S\fR must be used in order
is printed, rather than the value, and \fB\-S\fR must be used in order
both size and value to be printed.
both size and value to be printed.
.IP "\fB\-\-special\-syms\fR" 4
.IP "\fB\-\-special\-syms\fR" 4
.IX Item "--special-syms"
.IX Item "--special-syms"
Display symbols which have a target-specific special meaning.  These
Display symbols which have a target-specific special meaning.  These
symbols are usually used by the target for some special processing and
symbols are usually used by the target for some special processing and
are not normally helpful when included included in the normal symbol
are not normally helpful when included included in the normal symbol
lists.  For example for \s-1ARM\s0 targets this option would skip the mapping
lists.  For example for \s-1ARM\s0 targets this option would skip the mapping
symbols used to mark transitions between \s-1ARM\s0 code, \s-1THUMB\s0 code and
symbols used to mark transitions between \s-1ARM\s0 code, \s-1THUMB\s0 code and
data.
data.
.IP "\fB\-t\fR \fIradix\fR" 4
.IP "\fB\-t\fR \fIradix\fR" 4
.IX Item "-t radix"
.IX Item "-t radix"
.PD 0
.PD 0
.IP "\fB\-\-radix=\fR\fIradix\fR" 4
.IP "\fB\-\-radix=\fR\fIradix\fR" 4
.IX Item "--radix=radix"
.IX Item "--radix=radix"
.PD
.PD
Use \fIradix\fR as the radix for printing the symbol values.  It must be
Use \fIradix\fR as the radix for printing the symbol values.  It must be
\&\fBd\fR for decimal, \fBo\fR for octal, or \fBx\fR for hexadecimal.
\&\fBd\fR for decimal, \fBo\fR for octal, or \fBx\fR for hexadecimal.
.IP "\fB\-\-target=\fR\fIbfdname\fR" 4
.IP "\fB\-\-target=\fR\fIbfdname\fR" 4
.IX Item "--target=bfdname"
.IX Item "--target=bfdname"
Specify an object code format other than your system's default format.
Specify an object code format other than your system's default format.
.IP "\fB\-u\fR" 4
.IP "\fB\-u\fR" 4
.IX Item "-u"
.IX Item "-u"
.PD 0
.PD 0
.IP "\fB\-\-undefined\-only\fR" 4
.IP "\fB\-\-undefined\-only\fR" 4
.IX Item "--undefined-only"
.IX Item "--undefined-only"
.PD
.PD
Display only undefined symbols (those external to each object file).
Display only undefined symbols (those external to each object file).
.IP "\fB\-\-defined\-only\fR" 4
.IP "\fB\-\-defined\-only\fR" 4
.IX Item "--defined-only"
.IX Item "--defined-only"
Display only defined symbols for each object file.
Display only defined symbols for each object file.
.IP "\fB\-V\fR" 4
.IP "\fB\-V\fR" 4
.IX Item "-V"
.IX Item "-V"
.PD 0
.PD 0
.IP "\fB\-\-version\fR" 4
.IP "\fB\-\-version\fR" 4
.IX Item "--version"
.IX Item "--version"
.PD
.PD
Show the version number of \fBnm\fR and exit.
Show the version number of \fBnm\fR and exit.
.IP "\fB\-X\fR" 4
.IP "\fB\-X\fR" 4
.IX Item "-X"
.IX Item "-X"
This option is ignored for compatibility with the \s-1AIX\s0 version of
This option is ignored for compatibility with the \s-1AIX\s0 version of
\&\fBnm\fR.  It takes one parameter which must be the string
\&\fBnm\fR.  It takes one parameter which must be the string
\&\fB32_64\fR.  The default mode of \s-1AIX\s0 \fBnm\fR corresponds
\&\fB32_64\fR.  The default mode of \s-1AIX\s0 \fBnm\fR corresponds
to \fB\-X 32\fR, which is not supported by \s-1GNU\s0 \fBnm\fR.
to \fB\-X 32\fR, which is not supported by \s-1GNU\s0 \fBnm\fR.
.IP "\fB\-\-help\fR" 4
.IP "\fB\-\-help\fR" 4
.IX Item "--help"
.IX Item "--help"
Show a summary of the options to \fBnm\fR and exit.
Show a summary of the options to \fBnm\fR and exit.
.IP "\fB@\fR\fIfile\fR" 4
.IP "\fB@\fR\fIfile\fR" 4
.IX Item "@file"
.IX Item "@file"
Read command-line options from \fIfile\fR.  The options read are
Read command-line options from \fIfile\fR.  The options read are
inserted in place of the original @\fIfile\fR option.  If \fIfile\fR
inserted in place of the original @\fIfile\fR option.  If \fIfile\fR
does not exist, or cannot be read, then the option will be treated
does not exist, or cannot be read, then the option will be treated
literally, and not removed.
literally, and not removed.
.Sp
.Sp
Options in \fIfile\fR are separated by whitespace.  A whitespace
Options in \fIfile\fR are separated by whitespace.  A whitespace
character may be included in an option by surrounding the entire
character may be included in an option by surrounding the entire
option in either single or double quotes.  Any character (including a
option in either single or double quotes.  Any character (including a
backslash) may be included by prefixing the character to be included
backslash) may be included by prefixing the character to be included
with a backslash.  The \fIfile\fR may itself contain additional
with a backslash.  The \fIfile\fR may itself contain additional
@\fIfile\fR options; any such options will be processed recursively.
@\fIfile\fR options; any such options will be processed recursively.
.SH "SEE ALSO"
.SH "SEE ALSO"
.IX Header "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIar\fR\|(1), \fIobjdump\fR\|(1), \fIranlib\fR\|(1), and the Info entries for \fIbinutils\fR.
\&\fIar\fR\|(1), \fIobjdump\fR\|(1), \fIranlib\fR\|(1), and the Info entries for \fIbinutils\fR.
.SH "COPYRIGHT"
.SH "COPYRIGHT"
.IX Header "COPYRIGHT"
.IX Header "COPYRIGHT"
Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
.PP
.PP
Permission is granted to copy, distribute and/or modify this document
Permission is granted to copy, distribute and/or modify this document
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.2
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
or any later version published by the Free Software Foundation;
with no Invariant Sections, with no Front-Cover Texts, and with no
with no Invariant Sections, with no Front-Cover Texts, and with no
Back-Cover Texts.  A copy of the license is included in the
Back-Cover Texts.  A copy of the license is included in the
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.