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.

    • A file is not created for a load region if all the execution regions within that load region are empty.

    If you convert an ELF image built for AArch32 state that contains multiple load regions, and you use either the --m32combined or --i32combined option, fromelf:

    1. Creates an output directory named destination.

    2. Generates one binary output file for all load regions in the input image.

    3. 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.

Was this page helpful? Yes No