2002-06-15 H.J. Lu (hjl@gnu.org)
* nm.c (print_size): New variable. Initialize to 0. (long_options): Add 'S'/"print-size". (main): Handle 'S'. (print_symbol_info_bsd): Print size only if print_size is not 0. * doc/binutils.texi: Document -S/--print-size.
This commit is contained in:
parent
22ba8cf20b
commit
72797995ca
3 changed files with 24 additions and 3 deletions
|
@ -659,7 +659,8 @@ The @sc{gnu} linker @command{ld} is now described in a separate manual.
|
|||
@c man begin SYNOPSIS nm
|
||||
nm [@option{-a}|@option{--debug-syms}] [@option{-g}|@option{--extern-only}]
|
||||
[@option{-B}] [@option{-C}|@option{--demangle}[=@var{style}]] [@option{-D}|@option{--dynamic}]
|
||||
[@option{-s}|@option{--print-armap}] [@option{-A}|@option{-o}|@option{--print-file-name}]
|
||||
[@option{-S}|@option{--print-size}] [@option{-s}|@option{--print-armap}]
|
||||
[@option{-A}|@option{-o}|@option{--print-file-name}]
|
||||
[@option{-n}|@option{-v}|@option{--numeric-sort}] [@option{-p}|@option{--no-sort}]
|
||||
[@option{-r}|@option{--reverse-sort}] [@option{--size-sort}] [@option{-u}|@option{--undefined-only}]
|
||||
[@option{-t} @var{radix}|@option{--radix=}@var{radix}] [@option{-P}|@option{--portability}]
|
||||
|
@ -851,6 +852,10 @@ encountered.
|
|||
Use the POSIX.2 standard output format instead of the default format.
|
||||
Equivalent to @samp{-f posix}.
|
||||
|
||||
@item -S
|
||||
@itemx --print-size
|
||||
Print size of defined symbols for the @code{bsd} output format.
|
||||
|
||||
@item -s
|
||||
@itemx --print-armap
|
||||
@cindex symbol index, listing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue