Prefix each output line with the name of the object file or archive file. Equivalent to

-r

-A.

 

 

 

Print the section index instead of the section name (ELF only).

-s

 

 

Display each numeric value in the specified format. The format can be one of:

-t format

d

 

Display the value and size of a symbol in decimal. This is the default for the default

 

format or the -p format. Equivalent to -d.

 

o

 

Display the value and size of a symbol in octal. Equivalent to

 

-o.

 

x

 

Display the value and size of a symbol in hexadecimal. This is the default for the -P

 

format. Equivalent to -x.

 

 

 

Display undefined symbols only.

-u

 

 

Print the usage menu.

-U

 

 

Sort symbols by value before they are printed.

-v

 

 

Display the executing version of the nm command on standard error.

-V

 

 

Displays the value and size of a symbol in hexadecimal. this is the default for the -P

-x

format. Equivalent to -tx.

 

 

 

Viewing Symbols in an Object file with nm(1) 57