| |||
| Home > Linker command-line options > --split | |||
This option splits the default load region, that contains the RO and RW output sections, into the following load regions:
One region containing the
RO output section. The default load address is 0x8000,
but a different address can be specified with the --ro_base option.
One region containing the RW and ZI output sections.
The load address is specified with the --rw_base option.
This option requires a value for --rw_base. If --rw_base is
not specified, --rw_base=0 is assumed.
Both regions are root regions.
Using the Linker: