NM(1) NM(1) nm - nm [-A|-o|--print-file-name] [-a|--debug-syms] [-B|--format=bsd] [-C|--demangle[=style]] [-D|--dynamic] [-fformat|--format=format] [-g|--extern-only] [-h|--help] [--ifunc-chars=CHARS] [-j|--format=just-symbols] [-l|--line-numbers] [--inlines] [-n|-v|--numeric-sort] [-P|--portability] [-p|--no-sort] [-r|--reverse-sort] [-S|--print-size] [-s|--print-armap] [-t radix|--radix=radix] [-u|--undefined-only] [-U|--defined-only] [-V|--version] [-W|--no-weak] [-X 32_64] [--no-demangle] [--no-recurse-limit|--recurse-limit]] [--plugin name] [--size-sort] [--special-syms] [--synthetic] [--target=bfdname] [--unicode=method] [--with-symbol-versions] [--without-symbol-versions] [objfile...] GNU nm objfile.... nm a.out. nm : o ( ) . o . . (). ("u" "v" "w"). "A" . "B" "b" BSS. . "C" "c" (common). . . . c . "D" "d" . "G" "g" . int . "i" PE DLL. ELF . GNU ELF . (relocation) . . - GNU --ifunc-chars. . . "I" . "N" . "n" . "p" (stack unwind). "R" "r" . "S" "s" . "T" "t" (). "U" . "u" . GNU ELF. . "V" "v" . . . . "W" "w" . . . . "-" stabs a.out. stabs other stabs desc stab. Stabs . "?" . o . . @. foo@VER_1. @. foo@@VER_2. . -A -o --print-file-name ( ) . -a --debug-syms . -B --format=bsd ( nm MIPS). -C --demangle[=style] (demangle) . C++ . (mangling) . . --no-demangle (demangle) . . --recurse-limit --no-recurse-limit --recursion-limit --no-recursion-limit . . 2048 . (demangle) . . -D --dynamic . . -f format --format= format "bsd" "sysv" "posix" "just-symbols". "bsd". format . -g --extern-only . -h --help nm . --ifunc-chars=CHARS GNU nm "i" . --ifunc-chars . . j --format=just-symbols. -l --line-numbers . . . . --inlines -l (inlined) . "main" "callee1" "callee2" "callee2" "callee1" "main" . -n -v --numeric-sort . -p --no-sort . -P --portability POSIX.2 . -f posix. -r --reverse-sort ( ) . -S --print-size "bsd". --size-sort . -s --print-armap : ( ar ranlib) . -t --radix= radix . d o x . -u --undefined-only ( ). . -U --defined-only . . -V --version nm . -X AIX nm. 32_64. AIX nm -X 32 GNU nm. --plugin name . (toolchain) . --plugin nm ${libdir}/bfd-plugins . -plugin ld. nm ${libdir}/bfd-plugins. GCC liblto_plugin.so.0.0.0. Clang LLVMgold.so. GCC . --size-sort . ELF ELF . "bsd" -S . - --undefined-only . --special-syms . . ARM ARM THUMB . --synthetic . . . --unicode=[default|invalid|locale|escape|hex|highlight] UTF-8 . (--unicode=default) . --unicode=locale . --unicode=hex --unicode=invalid . --unicode=escape (\uxxxx) --unicode=highlight ( ). . -W --no-weak . --with-symbol-versions --without-symbol-versions . @. foo@VER_1. @. foo@@VER_2. . --target=_bfd (object code) . @ file. @file . file . file . . ( ) . file @file (recursively). ar(1) objdump(1) ranlib(1) Info binutils. (c) 1991-2026 . / (GNU Free Documentation License) 1.3 . "GNU Free Documentation License". 3 . . : . binutils-2.46 9 2026 NM(1)