minor formatting changes
[deliverable/binutils-gdb.git] / binutils / nm.1
index 4d3b3da49d3eda9676585caeae23ced4895a131d..c2ad99e559a147e1c28e1743693060bb0a249135 100644 (file)
@@ -27,6 +27,7 @@ nm \- list symbols from object files.
 .RB "[\|" \-r | \-\-reverse\-sort "\|]" 
 .RB "[\|" \-\-size\-sort "\|]" 
 .RB "[\|" \-u | \-\-undefined\-only "\|]"  
+.RB "[\|" \-l | \-\-line\-numbers "\|]"
 .RB "[\|" \-\-help "\|]"  
 .RB "[\|" \-\-version "\|]"  
 .RB "[\|" "\-t \fIradix" | \-\-radix=\fIradix "\|]"
@@ -94,7 +95,7 @@ libraries.
 .TP
 .B "\-f \fIformat"
 Use the output format \fIformat\fP, which can be ``bsd'',
-``sysv'', or ``posix''.  The default is `bsd''.
+``sysv'', or ``posix''.  The default is ``bsd''.
 Only the first character of \fIformat\fP is significant; it can be
 either upper or lower case.
 
@@ -160,8 +161,7 @@ Use \fIradix\fP as the radix for printing the symbol values.  It must be
 ``d'' for decimal, ``o'' for octal, or ``x'' for hexadecimal.
 
 .TP
-.BI "\-\-target=" "bfdname"\c
-\&
+.BI "\-\-target=" "bfdname"
 Specify an object code format other than your system's default format.
 See 
 .BR objdump ( 1 ),
@@ -173,6 +173,16 @@ for information on listing available formats.
 .B \-\-undefined\-only 
 Display only undefined symbols (those external to each object file).
 
+.TP
+.B \-l
+.TP
+.B \-\-line\-numbers
+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
+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
+information can be found, print it after the other symbol information.
+
 .TP
 .B \-V
 .TP
This page took 0.023183 seconds and 4 git commands to generate.