--split
Splits the default load region, that contains the RO and RW output sections, into separate load regions.
Usage
The default load region is split into the following load regions:
One region containing the RO output section. The default load address is
, but you can specify a different address with the0x8000
--ro_base
option.One region containing the RW and ZI output sections. The default load address is
, but you can specify a different address with the0x0
--rw_base
option.
Both regions are root regions.
Considerations when execute-only sections are present
For images containing execute-only (XO)
sections, an XO execution region is placed at the address specified by --ro_base
. The RO execution region is
placed immediately after the XO region.
If you specify --xo_base
, then the XO execution region is placed at the specified
address in a separate load region from the RO execution region.address
Restrictions
You cannot use --split
with --scatter
.