vms changes
[deliverable/binutils-gdb.git] / binutils / nm.1
index f2d629a0c7da2aac8fdadfe77d60593f82e7a57f..4d3b3da49d3eda9676585caeae23ced4895a131d 100644 (file)
@@ -8,7 +8,7 @@
 ..
 
 .SH NAME
-nm\(em\&list symbols from object files.
+nm \- list symbols from object files.
 
 .SH SYNOPSIS
 .hy 0
@@ -17,11 +17,15 @@ nm\(em\&list symbols from object files.
 .B nm
 .RB "[\|" \-a | \-\-debug\-syms "\|]" 
 .RB "[\|" \-g | \-\-extern\-only "\|]"
+.RB "[\|" \-B "\|]"  
+.RB "[\|" \-C | \-\-demangle "\|]" 
+.RB "[\|" \-D | \-\-dynamic "\|]" 
 .RB "[\|" \-s | \-\-print\-armap "\|]" 
 .RB "[\|" \-o | \-\-print\-file\-name "\|]"  
 .RB "[\|" \-n | \-\-numeric\-sort "\|]" 
 .RB "[\|" \-p | \-\-no\-sort "\|]"
 .RB "[\|" \-r | \-\-reverse\-sort "\|]" 
+.RB "[\|" \-\-size\-sort "\|]" 
 .RB "[\|" \-u | \-\-undefined\-only "\|]"  
 .RB "[\|" \-\-help "\|]"  
 .RB "[\|" \-\-version "\|]"  
@@ -65,6 +69,28 @@ symbols.
 .B \-\-debug\-syms 
 Display debugger-only symbols; normally these are not listed.
 
+.TP
+.B \-B
+The same as
+.B \-\-format=bsd
+(for compatibility with the MIPS \fBnm\fP).
+
+.TP
+.B \-C
+.TP
+.B \-\-demangle
+Decode (\fIdemangle\fP) low-level symbol names into user-level names.
+Besides removing any initial underscore prepended by the system, this
+makes C++ function names readable.
+
+.TP
+.B \-D
+.TP
+.B \-\-dynamic
+Display the dynamic symbols rather than the normal symbols.  This is
+only meaningful for dynamic objects, such as certain types of shared
+libraries.
+
 .TP
 .B "\-f \fIformat"
 Use the output format \fIformat\fP, which can be ``bsd'',
@@ -120,6 +146,12 @@ contain definitions for what names.
 Reverse the sense of the sort (whether numeric or alphabetic); let the
 last come first.
 
+.TP
+.B \-\-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.
+
 .TP
 .B "\-t \fIradix"
 .TP
This page took 0.024609 seconds and 4 git commands to generate.