3.39 input_file

Specifies the ELF file or archive containing ELF files to be processed.

Usage

Multiple input files are supported if you:

  • Output --text format.

  • Use the --compare option.

  • Use --elf with --in_place.

  • Specify an output directory using --output.

If input_file is a scatter-loaded image that contains more than one load region and the output format is one of --bin, --cad, --m32, --i32, or --vhx, then fromelf creates a separate file for each load region.

If input_file is a scatter-loaded image that contains more than one load region and the output format is one of --cadcombined, --m32combined, or --i32combined, then fromelf creates a single file containing all load regions.

If input_file is an archive, you can process all files, or a subset of files, in that archive. To process a subset of files in the archive, specify a filter after the archive name as follows:

archive.a(filter_pattern)

where filter_pattern specifies a member file. To specify a subset of files use the following wildcard characters:

*

Matches zero or more characters.

?

Matched any single character.

Note:

On Unix systems your shell typically requires the parentheses and these characters to be escaped with backslashes. Alternatively, enclose the archive name and filter in single quotes, for example:

'archive.a(??str*)'

Any files in the archive that are not processed are included in the output archive together with the processed files.

Example

To convert all files in the archive beginning with s, and create a new archive, my_archive.a, containing the processed and unprocessed files, enter:

fromelf archive.a(s*.o) --output=my_archive.a
Non-ConfidentialPDF file icon PDF versionARM DUI0477M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.