| |||
| Home > fromelf command reference > 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.
If is
a scatter-loaded image that contains more than one load region and
the output format is one of input_file--bin, --cad, --m32, --i32,
or --vhx, then fromelf creates
a separate file for each load region.
If is
a scatter-loaded image that contains more than one load region and
the output format is one of input_file--cadcombined, --m32combined,
or --i32combined, then fromelf creates
a single file containing all load regions.
If 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:input_file
archive.a(filter_pattern)
where specifies
a member file. To specify a subset of files use the following wildcard
characters:filter_pattern
*to match zero or more characters
?to match any single character.
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.
To strip debug information from all files in the archive beginning
with s, and creates a new archive, my_archive.a,
containing the processed and unprocessed files, enter:
fromelf --elf --strip=debug archive.a(s*.o) --output=my_archive.a