version 1.27, 2015/05/17 20:19:08 |
version 1.28, 2015/08/13 19:13:28 |
|
|
.Nd display name list (symbol table) |
.Nd display name list (symbol table) |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm nm |
.Nm nm |
.Op Fl aCDegnoprsuw |
.Op Fl AaCDegnoPprsuw |
|
.Op Fl t d|o|x |
.Op Ar |
.Op Ar |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The symbol table (name list) of each object in |
The symbol table (name list) of each object in |
|
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
.It Fl A |
|
Display the full path or library name of object on every line. |
.It Fl a |
.It Fl a |
Display symbol table entries inserted for use by debuggers. |
Display symbol table entries inserted for use by debuggers. |
.It Fl C |
.It Fl C |
|
|
.It Fl n |
.It Fl n |
Present results in numerical order. |
Present results in numerical order. |
.It Fl o |
.It Fl o |
Display full path or library name of object on every line. |
Display the full path or library name of object on every line |
|
.Pq this is similar to Fl A . |
|
.It Fl P |
|
Report information in POSIX format: full path or library name of object if |
|
either |
|
.Fl A |
|
or |
|
.Fl o |
|
has been specified; symbol name; symbol type; |
|
symbol value and size (unless the symbol is undefined). |
|
The radix of symbol values and sizes defaults to decimal, and may be changed |
|
with the |
|
.Fl t |
|
option. |
.It Fl p |
.It Fl p |
Do not sort at all. |
Do not sort at all. |
.It Fl r |
.It Fl r |
Reverse order sort. |
Reverse order sort. |
.It Fl s |
.It Fl s |
Show archive index. |
Show archive index. |
|
.It Fl t Ar d|o|x |
|
In POSIX format output, choose the numeric radix as follows: |
|
.Bl -tag -width 3n -compact |
|
.It d |
|
Decimal. |
|
.It o |
|
Octal. |
|
.It x |
|
Hexadecimal. |
|
.El |
.It Fl u |
.It Fl u |
Display undefined symbols only. |
Display undefined symbols only. |
.It Fl w |
.It Fl w |