nm man page on BSDOS

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

NM(1)			     BSD Reference Manual			 NM(1)

NAME
     nm - display the name list of an executable binary file

SYNOPSIS
     nm [-agnopruw] file ...

DESCRIPTION
     The symbol table (name list) of each executable binary or relocatable ob-
     ject file is displayed.  If a library (archive) is given, nm displays a
     list for each object archive member.  If no file is given, nm searches
     for the file a.out and if it is present, displays the symbol table for
     a.out.

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

     -g	   Restrict display to external (global) symbols.

     -n	   Present results in numerical order.

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

     -p	   Do not sort at all.

     -r	   Reverse the order of the sort.

     -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
	   f	   file name
	   R	   read-only data segment symbol
	   T	   text segment symbol
	   U	   undefined

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

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

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

BUGS
     The types and values that nm displays for file formats other than the old
     a.out(5) format are only approximations.  The objdump(1) program displays
     a somewhat more detailed name list, as well as other information about
     binary files.

     The nm program doesn't handle COFF binary files.

4th Berkeley Distribution	October 8, 1999				     1
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

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