The load image sections are formed by collecting the initialized sections from the input executables. There are two ways the load image sections are formed:
- Using the ROMS Directive. Each memory
range that is given in the ROMS directive denotes a load image section. The
romname is the section name. The origin and length parameters are
required. The memwidth, romwidth, and files parameters are invalid and are
ignored.
When using the ROMS
directive and the --load_image option, the --image option is
required.
- Default Load Image Section Formation. If
no ROMS directive is given, the load image sections are formed by combining
contiguous initialized sections in the input executables. Sections with gaps
smaller than the target word size are considered contiguous.
The default section names are
image_1, image_2, ... If another prefix is desired, the
--load_image:section_prefix=prefix option can be used.