From dcd6706b1a43516b767f57059e64a9bcb9206911 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 30 Dec 1995 17:02:06 +0000 Subject: [PATCH] * 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. --- binutils/ChangeLog | 6 ++++++ binutils/binutils.texi | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2ae4ba3289b..bf952fede92 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 * arparse.y: Include "bucomm.h", not . diff --git a/binutils/binutils.texi b/binutils/binutils.texi index 62bc2cc8782..d53dbb12ba5 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. -- 2.30.2