6.2.5. Targeting specific procedure call standard variants

You can specify one or more procedure call standard variants.

Interworking

If your application is built from sources that target both the ARM and Thumb instruction sets, you must specify interworking:

Compilation.APCS.Interworking enabled

Assembly.APCS.Interworking enabled

To see how these options are used, examine the RVDS example project:

install_directory\RVDS\Examples\...\interwork

Read-only position independence

To specify read-only position independence when compiling or assembling, use the option:

Compilation.APCS.Ropi enabled

Assembly.APCS.Ropi enabled

You can specify read-only position independence when linking with the options:

Link_Advanced.Ropi enabled

Link_Advanced.Ro_base address

Read/write position independence

To specify read/write position independence when compiling or assembling, use the option:

Compilation.APCS.Rwpi enabled

Assembly.APCS.Rwpi enabled

You can specify read/write position independence when linking with the options:

Link_Advanced.Rwpi enabled

Link_Advanced.Rw_base address

For more details about these, and other --apcs options, see the RealView Compilation Tools Assembler Guide, the RealView Compilation Tools Compiler and Libraries Guide, and the RealView Compilation Tools Linker and Utilities Guide.

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0181G
Non-Confidential