3.45 --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:

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

Non-ConfidentialPDF file icon PDF versionARM DUI0477M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.