You copied the Doc URL to your clipboard.

Considerations when using fromelf

Be aware of the following:

  • If you use fromelf to convert an ELF image containing multiple load regions to a binary format using any of the --bin, --m32, --i32, or --vhx options, fromelf creates an output directory named destination and generates one binary output file for each load region in the input image. fromelf places the output files in the destination directory.

    Note

    For multiple load regions, the name of the first non-empty execution region in the corresponding load region is used for the filename.

    If you convert an ELF image containing multiple load regions using either the --m32combined or --i32combined option, fromelf creates an output directory named destination, generates one binary output file for all load regions in the input image, and then places the output file in the destination directory.

    ELF images contain multiple load regions if, for example, they are built with a scatter file that defines more than one load region.

  • When using fromelf, you cannot:

    • Change the image structure or addresses, other than altering the base address of Motorola S-record or Intel Hex output with the --base option.

    • Change a scatter-loaded ELF image into a non scatter-loaded image in another format. Any structural or addressing information must be provided to the linker at link time.