9.4.2 Customization of the BPABI standard memory model

You can customize the BPABI standard memory model with the memory map related command-line options.


If you specify the option --ropi, LR_1 is marked as position-independent. Likewise, if you specify the option --rwpi, LR_2 is marked as position-independent.


In most cases, you must specify the --ro_base and --rw_base switches, because the default values, 0x8000 and 0 respectively, might not be suitable for your platform. These addresses do not have to reflect the addresses to which the image is relocated at run time.

If you require a more complicated memory layout, use the Base Platform linking model, --base_platform.

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