nm man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

NM(1)			   OpenBSD Reference Manual			 NM(1)

NAME
     nm - display name list (symbol table)

SYNOPSIS
     nm [-aCegnoprsuw] [file ...]

DESCRIPTION
     The symbol table (name list) of each object in file(s) is displayed.  If
     a library (archive) is given, nm displays a list for each object archive
     member.  If file is not present, nm searches for the file a.out and
     displays its symbol table if it exists.

     The options are as follows:

     -a	     Display symbol table entries inserted for use by debuggers.

     -C	     Decode low-level symbol names.  This involves removing extra
	     underscores and making C++ function names readable.

     -e	     Output extended information, that is `w' for weak symbols, `f'
	     for function-like symbols, and `o' for object-like symbols.

     -g	     Restrict display to external (global) symbols.

     -n	     Present results in numerical order.

     -o	     Display full path or library name of object on every line.

     -p	     Do not sort at all.

     -r	     Reverse order sort.

     -s	     Show archive index.

     -u	     Display undefined symbols only.

     -w	     Warn about non-object archive members.  Normally, nm will
	     silently ignore all archive members which are not object files.

     Each symbol name is preceded by its value (a blank field if the symbol is
     undefined) and one of the following letters:

	   -	   debugger symbol table entries (see the -a option)
	   A	   absolute
	   B	   bss segment symbol
	   C	   common symbol
	   D	   data segment symbol
	   I	   indirect reference (alias to other symbol)
	   F	   file name
	   R	   read-only data segment symbol
	   T	   text segment symbol
	   U	   undefined
	   W	   weak symbol (only on ELF binaries)

     If the symbol is local (non-external), the type letter is in lower case.
     The output is sorted alphabetically.

SEE ALSO
     ar(1), size(1), a.out(5), ar(5), elf(5), stab(5)

STANDARDS
     The nm utility appears as an optional part of IEEE Std 1003.1-2008
     (``POSIX''); this incarnation of nm appears largely incompatible with
     that standard.

HISTORY
     An nm command appeared in Version 6 AT&T UNIX.

OpenBSD 4.9		       October 27, 2009			   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net