You copied the Doc URL to your clipboard.


This option forces the output to display only the named section.



Where section_name is the name of the section to be displayed.

You can:

  • use wildcard characters ? and * for a section name

  • use multiple --only options to specify additional sections to display.


The following examples show how to use --only:

  • To display only the symbol table, .symtab, enter:

    fromelf --only=.symtab --text -s test.axf

  • To display all ERn sections, enter:

    fromelf --only=ER? test.axf

  • To display the HEAP section and all symbol and string table sections, enter:

    fromelf --only=HEAP --only=.*tab --text -s -t test.axf

See also