You copied the Doc URL to your clipboard.

ARM Compiler fromelf User Guide : --only=section_name

--only=section_name

Filters the list of sections that are displayed in the main section-by-section output from --text. It does not affect any additional output after the main section-by-section output.

Syntax

--only=section_name

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.

Examples

The following examples show how to use --only:

  • To display only the symbol table, .symtab, from the section-by-section output, 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

Related reference

Was this page helpful? Yes No