You copied the Doc URL to your clipboard.

input_file

This option specifies the ELF file or archive containing ELF files to be processed. 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.

Usage

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:

*

to match zero or more characters

?

to match 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 strip debug information from all files in the archive beginning with s, and create a new archive, my_archive.a, containing the processed and unprocessed files, enter:

fromelf --cpu=8-A.32 --elf --strip=debug archive.a(s*.o) --output=my_archive.a
Was this page helpful? Yes No