aboutsummaryrefslogtreecommitdiff
path: root/binutils/nm.1
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/nm.1')
-rw-r--r--binutils/nm.111
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils/nm.1 b/binutils/nm.1
index 13681be..c2ad99e 100644
--- a/binutils/nm.1
+++ b/binutils/nm.1
@@ -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 "\|]"
@@ -173,6 +174,16 @@ for information on listing available formats.
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
.B \-\-version