2.13 Code compatibility between separately compiled and assembled modules

By writing code that adheres to the ARM Architecture Procedure Call Standard (AAPCS), you can ensure that separately compiled and assembled modules can work together.

The AAPCS forms part of the Base Standard Application Binary Interface for the ARM Architecture specification.
Interworking qualifiers associated with the --apcs compiler command-line option control interworking. Position independence qualifiers, also associated with the --apcs compiler command-line option, control position independence, and affect the creation of reentrant and thread-safe code.

Note

This does not mean that you must use the same --apcs command-line options to get your modules to work together. You must be familiar with the AAPCS.
Related reference
7.6 --apcs=qualifier...qualifier
Related information
ARM C libraries and multithreading
Procedure Call Standard for the ARM Architecture
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.