SDNM(1)
π SDNM(1) β like, the whole manual bestie π
okay so welcome to sdnm, a member of the General Commands Manual squad, and honestly? she's a whole mood. she lists symbols from object files. she's also a part of SDCC, so if you're deep in embedded-land, she's your girl. π
β¨ NAME β¨
sdnm β list symbols from object files. A part of SDCC.
no cap, that's it, that's the job. π¦
πΈ SYNOPSIS πΈ
sdnm [option(s)] [file(s)]
π DESCRIPTION π
List symbols in [file(s)] β and if you don't hand her any files, she defaults to a.out, periodt. The options are:
-a,--debug-symsβ show debugger-only symbols. the nerdy backstage ones π-A,--print-file-nameβ print the name of the input file before every single symbol, so you always know who's talking π«Ά-Bβ literally the same thing as--format=bsd-C,--demangle[=STYLE]β decode low-level symbol names into user-level names. iconic behaviour honestly β¨
The STYLE, if you specify one, can be auto (which is the default, obvs), gnu, lucid, arm, hp, edg, gnu-v3, java, or gnat. so many styles, so little time π
--no-demangleβ do not demangle low-level symbol names. leave them in their raw little cryptic era π-D,--dynamicβ display dynamic symbols instead of normal symbols. main character swap π₯--defined-onlyβ display only defined symbols. no ghosting, only the ones who showed up π-eβ (ignored) π yeah she just sits there. queen behaviour, refusing to participate-f,--format=FORMATβ use the output format FORMAT. FORMAT can bebsd,sysvorposix. the default isbsdπ-g,--extern-onlyβ display only external symbols-l,--line-numbersβ use debugging information to find a filename and line number for each symbol. she's doing detective work fr fr π-n,--numeric-sortβ sort symbols numerically by address-oβ same as-A-p,--no-sortβ do not sort the symbols. chaos. respect it π-P,--portabilityβ same as--format=posix-r,--reverse-sortβ reverse the sense of the sort. plot twist energy π-S,--print-sizeβ print the size of defined symbols-s,--print-armapβ include index for symbols from archive members--size-sortβ sort symbols by size. biggest first energy π--special-symsβ include special symbols in the output. VIPs only β¨--syntheticβ display synthetic symbols as well-t,--radix=RADIXβ use RADIX for printing symbol values--target=BFDNAMEβ specify the target object format as BFDNAME-u,--undefined-onlyβ display only undefined symbols. the ones who haven't found themselves yet π¦-X 32_64β (ignored) π another one just vibing in the corner@FILEβ read options from FILE-h,--helpβ display this information. she's helpful like that π-V,--versionβ display this program's version number
and bestie, check this out:
/usr/bin/sdnm: supported targets: asxxxx srec symbolsrec binary ihex
those are the supported targets. asxxxx, srec, symbolsrec, binary, ihex. slay. π§
π REPORTING BUGS π
Report bugs to:
<http://sourceforge.net/tracker/?group_id=599@report_bugs_to@atid=100599>
if something's busted, tell the devs, not me, I'm just the messenger π«Ά
π COPYRIGHT π
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.
no warranty at all, bestie. zero. none. if it breaks, it breaks π
π SEE ALSO π
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. iykyk πβ¨
okay that's the whole page!! π this was page SDNM(1) from the General Commands Manual, and yes the footer says SDNM(1) too because she likes a little symmetry π go list some symbols, you're gonna eat, periodt. π
π¦ where this page comes from
- debian bookworm: sdcc 4.2.0+dfsg-1
- debian trixie: sdcc 4.5.0+dfsg-1
- ubuntu jammy: sdcc 4.0.0+dfsg-2
- ubuntu noble: sdcc 4.2.0+dfsg-1
- ubuntu questing: sdcc 4.5.0+dfsg-1
- ubuntu resolute: sdcc 4.5.0+dfsg-4
- ubuntu stonking: sdcc 4.5.0+dfsg-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms