You copied the Doc URL to your clipboard.

ARM Compiler armlink User Guide : --xo_base=address


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



Where address must be word-aligned.


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.


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


XO memory is supported only for ARMv7-M and ARMv8-M architectures.

You cannot use --xo_base with:

  • --reloc.
  • --ropi.
  • --rwpi.
  • --scatter.

Related concepts