3.33 --i32
Produces Intel Hex-32 format output. It generates one output file for each load region in the image.
You can specify the base address of the output with the --base
option.
Restrictions
The following restrictions apply:
- Not supported for AArch64 state.
- You cannot use this option with object files.
- You must use
--output
with this option.
Considerations when using --i32
If you convert an ELF image containing multiple load regions to a binary
format, fromelf creates an output directory named
and generates one binary output file for
each load region in the input image. fromelf places the output files in
the destination
directory.destination
Note
For multiple load regions, the name of the first non-empty execution region in the corresponding load region is used for the filename.
A file is only created when the load region describes code or data that is present in the ELF file. For example a load region containing only execution regions with ZI data in them does not result in a output file.
Example
To convert the ELF file infile.axf to an Intel Hex-32 format file, for example outfile.bin, enter:
fromelf --i32 --output=outfile.bin infile.axf