Datasheet

C and C++ Compilers
2-12 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
2.3.2 Procedure Call Standard options
This section applies to the ARM/Thumb Procedure Call Standard (ATPCS) as used by
the ARM compilers.
See the ADS Developer Guide for more information on the ARM and Thumb procedure
call standards. See Controlling code generation on page 2-24 for other build options.
Use the following command-line options to specify the variant of the procedure call
standard that is to be used by the compiler:
-apcs qualifiers
The following rules apply to the
-apcs
command-line option:
at least one qualifier must be present
there must be no space between qualifiers.
If no
-apcs
or
-cpu
options are specified, the default for all compilers is:
-apcs /noswst/nointer/noropi/norwpi -fpu softvfp
unless the default
-fpu
is overridden by the use of
-cpu
. See Specifying the target
processor or architecture on page 2-19 for more information.
The qualifiers are listed below.
Interworking qualifiers
/nointerwork
This option generates code with no ARM/Thumb interworking support.
This is the default unless ARM architecture v5T is specified by, for
example,
-cpu 5T
, because architecture v5T provides direct interworking
support.
/interwork
This option generates code with ARM/Thumb interworking support. See
the ADS Developer Guide for more information on ARM/Thumb
interworking and the ADS Linker and Utilities Guide for information on
the automatically generated interworking veneers. This is the default for
ARM architecture v5T.