12.118 --ro_base=address

Sets both the load and execution addresses of the region containing the RO output section at a specified address.

Syntax

--ro_base=address

Where address must be word-aligned.

Usage

If execute-only (XO) sections are present, and you specify --ro_base without --xo_base, then an ER_XO execution region is created at the address specified by --ro_base. The ER_RO execution region immediately follows the ER_XO region.

Default

If this option is not specified, and no scatter file is specified, the default is --ro_base=0x8000. If XO sections are present, then this is the default value used to place the ER_XO region.

Restrictions

You cannot use --ro_base with:

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