OS Manuals

/usr/arm-none-eabi/bin/readelf

GNU Binutils built as a cross toolchain for the bare-metal ARM EABI target (arm-none-eabi). It provides target-prefixed tools: arm-none-eabi-as, -ld, -ld.bfd, -objcopy, -objdump, -nm, -ar, -ranlib, -strip, -readelf, -size, -strings, -addr2line, -c++filt, -elfedit and -gprof. They assemble, link, inspect and convert ARM/Thumb object files for Cortex-M/R/A embedded firmware development. The package is built from the same binutils-gdb source as Wolfi's native binutils, configured with --target=arm-none-eabi.

From binutils-arm-none-eabi 2.47-r2 (enterprise-packages), captured 2026-11-08 by running readelf --help (exit 0). permalink

Usage: readelf <option(s)> elf-file(s)
 Display information about the contents of ELF format files
 Options are:
  -a --all               Equivalent to: -h -l -S -s -r -d -V -A -I --got-contents
  -h --file-header       Display the ELF file header
  -l --program-headers   Display the program headers
     --segments          An alias for --program-headers
  -S --section-headers   Display the sections' header
     --sections          An alias for --section-headers
  -g --section-groups    Display the section groups
  -t --section-details   Display the section details
  -e --headers           Equivalent to: -h -l -S
  -s --syms              Display the symbol table
     --symbols           An alias for --syms
     --dyn-syms          Display the dynamic symbol table
     --lto-syms          Display LTO symbol tables
     --sym-base=[0|8|10|16]
                         Force base for symbol sizes.  The options are
                         mixed (the default), octal, decimal, hexadecimal.
  -C --demangle[=STYLE]  Decode mangled/processed symbol names
                           STYLE can be "none", "auto", "gnu-v3", "java",
                           "gnat", "dlang", "rust"
     --no-demangle       Do not demangle low-level symbol names.  (default)
     --recurse-limit     Enable a demangling recursion limit.  (default)
     --no-recurse-limit  Disable a demangling recursion limit
     -U[dlexhi] --unicode=[default|locale|escape|hex|highlight|invalid]
                         Display unicode characters as determined by the current locale
                          (default), escape sequences, "<hex sequences>", highlighted
                          escape sequences, or treat them as invalid and display as
                          "{hex sequences}"
     -X --extra-sym-info Display extra information when showing symbols
     --no-extra-sym-info Do not display extra information when showing symbols (default)
  -n --notes             Display the contents of note sections (if present)
  -r --relocs            Display the relocations (if present)
  -u --unwind            Display the unwind info (if present)
  -d --dynamic           Display the dynamic section (if present)
  -V --version-info      Display the version sections (if present)
  -A --arch-specific     Display architecture specific information (if any)
  -c --archive-index     Display the symbol/file index in an archive
  -D --use-dynamic       Use the dynamic section info when displaying symbols
  -L --lint|--enable-checks
                         Display warning messages for possible problems
  -x --hex-dump=<number|name>
                         Dump the contents of section <number|name> as bytes
  -p --string-dump=<number|name>
                         Dump the contents of section <number|name> as strings
  -R --relocated-dump=<number|name>
                         Dump the relocated contents of section <number|name>
  -z --decompress        Decompress section before dumping it

  -j --display-section=<name|number>
		         Display the contents of the indicated section.  Can be repeated
  -w --debug-dump[a/=abbrev, A/=addr, r/=aranges, c/=cu_index, L/=decodedline,
                  f/=frames, F/=frames-interp, g/=gdb_index, i/=info, o/=loc,
                  m/=macro, p/=pubnames, t/=pubtypes, R/=Ranges, l/=rawline,
                  s/=str, O/=str-offsets, u/=trace_abbrev, T/=trace_aranges,
                  U/=trace_info]
                         Display the contents of DWARF debug sections
  -wk --debug-dump=links Display the contents of sections that link to separate
                          debuginfo files
  -P --process-links     Display the contents of non-debug sections in separate
                          debuginfo files.  (Implies -wK)
  -wK --debug-dump=follow-links
                         Follow links to separate debug info files (default)
  -wN --debug-dump=no-follow-links
                         Do not follow links to separate debug info files
  --dwarf-depth=N        Do not display DIEs at depth N or greater
  --dwarf-start=N        Display DIEs starting at offset N
  --debug-dir=<DIR>      Search DIR for debug info files
  --ctf=<number|name>    Display CTF info from section <number|name>
  --ctf-parent=<name>    Use CTF archive member <name> as the CTF parent
  --ctf-symbols=<number|name>
                         Use section <number|name> as the CTF external symtab
  --ctf-strings=<number|name>
                         Use section <number|name> as the CTF external strtab
  --sframe[=NAME]        Display SFrame info from section NAME, (default '.sframe')
  -I --histogram         Display histogram of bucket list lengths
  --got-contents         Display GOT section contents
  -W --wide              Allow output width to exceed 80 characters
  -T --silent-truncation If a symbol name is truncated, do not add [...] suffix
  @<file>                Read options from <file>
  -H --help              Display this information
  -v --version           Display the version number of readelf
Report bugs to <https://sourceware.org/bugzilla/>
Options (50)
OptionDescriptionSource
-a --allEquivalent to: -h -l -S -s -r -d -V -A -I --got-contentshelp
-h --file-headerDisplay the ELF file headerhelp
-l --program-headersDisplay the program headershelp
--segmentsAn alias for --program-headershelp
-S --section-headersDisplay the sections' headerhelp
--sectionsAn alias for --section-headershelp
-g --section-groupsDisplay the section groupshelp
-t --section-detailsDisplay the section detailshelp
-e --headersEquivalent to: -h -l -Shelp
-s --symsDisplay the symbol tablehelp
--symbolsAn alias for --symshelp
--dyn-symsDisplay the dynamic symbol tablehelp
--lto-symsDisplay LTO symbol tableshelp
--sym-base 0|8|10|16Force base for symbol sizes.help
-C --demangle[=STYLEDecode mangled/processed symbol names STYLE can be "none", "auto", "gnu-v3", "java", "gnat", "dlang", "rust"help
--no-demangleDo not demangle low-level symbol names.help
--recurse-limitEnable a demangling recursion limit.help
--no-recurse-limitDisable a demangling recursion limithelp
-U dlexhiDisplay unicode characters as determined by the current locale (default), escape sequences, "<hex sequences>", highlighted escape sequences, or treat them as invalid and display as "{hex sequences}"help
-n --notesDisplay the contents of note sections (if present)help
-r --relocsDisplay the relocations (if present)help
-u --unwindDisplay the unwind info (if present)help
-d --dynamicDisplay the dynamic section (if present)help
-V --version-infoDisplay the version sections (if present)help
-A --arch-specificDisplay architecture specific information (if any)help
-c --archive-indexDisplay the symbol/file index in an archivehelp
-D --use-dynamicUse the dynamic section info when displaying symbolshelp
-L --lint|--enable-checksDisplay warning messages for possible problemshelp
-x --hex-dump=<number|nameDump the contents of section <number|name> as byteshelp
-p --string-dump=<number|nameDump the contents of section <number|name> as stringshelp
-R --relocated-dump=<number|nameDump the relocated contents of section <number|name>help
-z --decompressDecompress section before dumping ithelp
-j --display-section=<name|numberDisplay the contents of the indicated section.help
-w --debug-dump[a/=abbrevf/=frames, F/=frames-interp, g/=gdb_index, i/=info, o/=loc, m/=macro, p/=pubnames, t/=pubtypes, R/=Ranges, l/=rawline, s/=str, O/=str-offsets, u/=trace_abbrev, T/=trace_aranges, U/=trace_info]…help
-P --process-linksDisplay the contents of non-debug sections in separate debuginfo files.help
-wK --debug-dump=follow-linksFollow links to separate debug info files (default)help
-wN --debug-dump=no-follow-linksDo not follow links to separate debug info fileshelp
--dwarf-depth NDo not display DIEs at depth N or greaterhelp
--dwarf-start NDisplay DIEs starting at offset Nhelp
--debug-dir DIRSearch DIR for debug info fileshelp
--ctf number|nameDisplay CTF info from section <number|name>help
--ctf-parent nameUse CTF archive member <name> as the CTF parenthelp
--ctf-symbols number|nameUse section <number|name> as the CTF external symtabhelp
--ctf-strings number|nameUse section <number|name> as the CTF external strtabhelp
--sframe NAMEDisplay SFrame info from section NAME, (default '.sframe')help
-I --histogramDisplay histogram of bucket list lengthshelp
--got-contentsDisplay GOT section contentshelp
-W --wideAllow output width to exceed 80 charactershelp
-H --helpDisplay this informationhelp
-v --versionDisplay the version number of readelfhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.