4.1.3. Using the /interwork option

The option --apcs /interwork is available for the ARM compiler and assembler. If you set this option:

Use the --apcs /interwork option if your object file contains:

Note

If a module contains functions marked with #pragma arm or #pragma thumb, the module must be compiled with --apcs /interwork. This ensures that the functions can be called successfully from the other (ARM or Thumb) state.

Otherwise, you do not have to use the /interwork option. For example, your object file might contain any of the following without requiring /interwork:

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0203G
Non-Confidential