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

  • One region containing the RW and ZI output sections. The default load address is 0x0, but you can 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.

Non-ConfidentialPDF file icon PDF versionARM DUI0474M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.