aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-12-30 17:02:06 +0000
committerJeff Law <law@redhat.com>1995-12-30 17:02:06 +0000
commitdcd6706b1a43516b767f57059e64a9bcb9206911 (patch)
tree4eac764de4de8248d66821f8f9cac385653671d6 /binutils
parent5eccb7dc893e17dd886f61ad9e331cafdaf76be0 (diff)
downloadgdb-dcd6706b1a43516b767f57059e64a9bcb9206911.zip
gdb-dcd6706b1a43516b767f57059e64a9bcb9206911.tar.gz
gdb-dcd6706b1a43516b767f57059e64a9bcb9206911.tar.bz2
* nm.c ( long_options): Add "--defined-only" option.
(usage): Update for new "--defined-only" option. (filter_symbols): Handle "--defined-only". Part of mentor vm work.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/binutils.texi6
2 files changed, 12 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 2ae4ba3..bf952fe 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+Sat Dec 30 09:59:51 1995 Jeffrey A Law (law@cygnus.com)
+
+ * nm.c ( long_options): Add "--defined-only" option.
+ (usage): Update for new "--defined-only" option.
+ (filter_symbols): Handle "--defined-only".
+
Fri Dec 29 16:04:56 1995 Ian Lance Taylor <ian@cygnus.com>
* arparse.y: Include "bucomm.h", not <sysdep.h>.
diff --git a/binutils/binutils.texi b/binutils/binutils.texi
index 62bc2cc..d53dbb1 100644
--- a/binutils/binutils.texi
+++ b/binutils/binutils.texi
@@ -580,6 +580,7 @@ nm [ -a | --debug-syms ] [ -g | --extern-only ]
[ -r | --reverse-sort ] [ --size-sort ] [ -u | --undefined-only ]
[ -t @var{radix} | --radix=@var{radix} ] [ -P | --portability ]
[ --target=@var{bfdname} ] [ -f @var{format} | --format=@var{format} ]
+ [ --defined-only ]
[ --no-demangle ] [ -V | --version ] [ --help ] [ @var{objfile}@dots{} ]
@end smallexample
@@ -735,6 +736,11 @@ Specify an object code format other than your system's default format.
@cindex undefined symbols
Display only undefined symbols (those external to each object file).
+@item --defined-only
+@cindex external symbols
+@cindex undefined symbols
+Display only defined symbols for each object file.
+
@item -V
@itemx --version
Show the version number of @code{nm} and exit.