* nm.c ( long_options): Add "--defined-only" option.
authorJeff Law <law@redhat.com>
Sat, 30 Dec 1995 17:02:06 +0000 (17:02 +0000)
committerJeff Law <law@redhat.com>
Sat, 30 Dec 1995 17:02:06 +0000 (17:02 +0000)
        (usage): Update for new "--defined-only" option.
        (filter_symbols): Handle "--defined-only".
Part of mentor vm work.

binutils/ChangeLog
binutils/binutils.texi

index 2ae4ba3..bf952fe 100644 (file)
@@ -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>.
index 62bc2cc..d53dbb1 100644 (file)
@@ -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.