Scroll to navigation

SDNM(1) General Commands Manual SDNM(1)


sdnm - list symbols from object files. A part of SDCC


sdnm [option(s)] [file(s)]


List symbols in [file(s)] (a.out by default). The options are:
Display debugger-only symbols
Print name of the input file before every symbol
Same as --format=bsd
The STYLE, if specified, can be `auto' (the default), `gnu', `lucid', `arm', `hp', `edg', `gnu-v3', `java' or `gnat'
Do not demangle low-level symbol names
Display dynamic symbols instead of normal symbols
Display only defined symbols
Use the output format FORMAT. FORMAT can be `bsd', `sysv' or `posix'. The default is `bsd'
Display only external symbols
Use debugging information to find a filename and line number for each symbol
Sort symbols numerically by address
Same as -A
Do not sort the symbols
Same as --format=posix
Reverse the sense of the sort
Print size of defined symbols
Include index for symbols from archive members
Sort symbols by size
Include special symbols in the output
Display synthetic symbols as well
Use RADIX for printing symbol values
Specify the target object format as BFDNAME
Display only undefined symbols
Read options from FILE
Display this information
Display this program's version number

/usr/bin/sdnm: supported targets: asxxxx srec symbolsrec binary ihex


Report bugs to <>.


Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty.


The full documentation for nm is maintained as a Texinfo manual. If the info and nm programs are properly installed at your site, the command

info nm

should give you access to the complete manual.