mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* 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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user