11.158 --xo_base=address

Specifies the base address of an execute-only (XO) execution region.

Syntax

--xo_base=address

Where address must be word-aligned.

Usage

When you specify --xo_base:

  • XO sections are placed in a separate load and execution region, at the address specified.
  • No ER_XO region is created when no XO sections are present.

Restrictions

You can use --xo_base only with the bare-metal linking model.

Note:

XO memory is supported only for Armv7‑M and Armv8‑M architectures.

You cannot use --xo_base with:

  • --reloc.
  • --ropi.
  • --rwpi.
  • --scatter.
Non-ConfidentialPDF file icon PDF versionDUI0803J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.