You copied the Doc URL to your clipboard.

--split linker option

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 8000 , but you can be specify a different address with the --ro_base option.

  • One region containing the RW and ZI output sections. The default load address is 0 , but you can be specify a different address with the --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 address , then the XO execution region is placed at the specified address in a separate load region from the RO execution region.

Restrictions

You cannot use --split with --scatter, --shared, or --sysv.

Was this page helpful? Yes No