A load image is an object file that contains the
load addresses and initialized sections of one or more executable files. The load
image object file can be used for ROM masking or can be relinked in a subsequent
link step.
Several command-line options allow you
to control the format of the file produced when --load_image is used. Options allow
you to do the following:
- Create a relocatable or executable output file with the --load_image:file_type
option.
- Specify the ABI, machine type,
and endianness with the -load_image:format, --load_image:machine, and
--load_image:endian options, respectively.
- Combine sections, add a prefix to
section names, or include load addresses in the output file with the
--load_image:combine_sections,
--load_image:section_prefix, and --load_image:section_addresses options.
- Choose whether to output symbols
and specify their binding in the output with the
--load_image:output_symbols and --load_image:symbol_binding options.
- Control whether individual
symbols are local or global with the -load_image:localize and
--load_image:globalize options.
These command-line options are described in Section 11.3.1.