7.8.5 Example of placing ARM library helper functions

Placing ARM library helper functions using a scatter file cannot be done using armlib and cpplib.

ARM library helper functions are generated by the compiler in the resulting object files. Therefore, you cannot use armlib and cpplib in a scatter file to place these functions.

To place the helper functions specify *.* (i.__ARM_*) in your scatter file. The *.* part is important if you have * (+RO) in your scatter file.

Be aware that if you use * (i.__ARM_*) the following error is generated:

Error: L6223E: Ambiguous selectors…

This is because of the scatter-loading rules for resolving multiple matches.

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