aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-03-17 10:14:07 +0000
committerNick Clifton <nickc@redhat.com>2003-03-17 10:14:07 +0000
commit06a30c77e0dd15dc3adf2d261815580ecc534d27 (patch)
tree8abcfea7838125f2af740e23803ed42a12bc9b89 /binutils/doc
parent27adcae577a61dd830a5920b06832a9655b72386 (diff)
downloadfsf-binutils-gdb-06a30c77e0dd15dc3adf2d261815580ecc534d27.zip
fsf-binutils-gdb-06a30c77e0dd15dc3adf2d261815580ecc534d27.tar.gz
fsf-binutils-gdb-06a30c77e0dd15dc3adf2d261815580ecc534d27.tar.bz2
nm.c (print_symbol_info_bsd): Print the symbol's size instead of the symbol's
value when --size-sort is used, unless -S is used. doc/binutils.texi (--size-sort): For non-bsd formats both the value and size of the symbols are displayed.
Diffstat (limited to 'binutils/doc')
-rw-r--r--binutils/doc/binutils.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index fb23439..5c38b84 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -857,7 +857,7 @@ Equivalent to @samp{-f posix}.
@item -S
@itemx --print-size
-Print size of defined symbols for the @code{bsd} output format.
+Print size, not the value, of defined symbols for the @code{bsd} output format.
@item -s
@itemx --print-armap
@@ -874,8 +874,7 @@ last come first.
@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. The size of the symbol is printed, rather than the value.
-structure. If the @code{bsd} output format is used the size of the symbol
+value. If the @code{bsd} output format is used the size of the symbol
is printed, rather than the value, and @samp{-S} must be used in order
both size and value to be printed.