- This option specifies the target processor. The assembler will issue an
error message if an attempt is made to assemble an instruction which
will not execute on the target processor. The following processor names are
fa526(Faraday FA526 processor),
fa626(Faraday FA626 processor),
fa626te(Faraday FA626TE processor),
fa726te(Faraday FA726TE processor),
ep9312(ARM920 with Cirrus Maverick coprocessor),
i80200(Intel XScale processor)
iwmmxt(Intel(r) XScale processor with Wireless MMX(tm) technology coprocessor) and
xscale. The special name
allmay be used to allow the assembler to accept instructions valid for any ARM processor.
In addition to the basic instruction set, the assembler can be told to accept various extension mnemonics that extend the processor using the co-processor instruction space. For example,
-mcpu=arm920+maverickis equivalent to specifying
-mcpu=ep9312. The following extensions are currently supported:
- This option specifies the target architecture. The assembler will issue
an error message if an attempt is made to assemble an instruction which
will not execute on the target architecture. The following architecture
names are recognized:
xscale. If both
-marchare specified, the assembler will use the setting for
The architecture option can be extended with the same instruction set extension options as the
This option specifies the floating point format to assemble for. The
assembler will issue an error message if an attempt is made to assemble
an instruction which will not execute on the target floating point unit.
The following format options are recognized:
In addition to determining which instructions are assembled, this option also affects the way in which the
.doubleassembler directive behaves when assembling little-endian code.
The default is dependent on the processor selected. For Architecture 5 or later, the default is to assembler for VFP instructions; for earlier architectures the default is to assemble for FPA instructions.
- This option specifies that the assembler should start assembling Thumb
instructions; that is, it should behave as though the file starts with a
- This option specifies that the output generated by the assembler should be marked as supporting interworking.
-mimplicit-itoption controls the behavior of the assembler when conditional instructions are not enclosed in IT blocks. There are four possible behaviors. If
neveris specified, such constructs cause a warning in ARM code and an error in Thumb-2 code. If
alwaysis specified, such constructs are accepted in both ARM and Thumb-2 code, where the IT instruction is added implicitly. If
armis specified, such constructs are accepted in ARM code and cause an error in Thumb-2 code. If
thumbis specified, such constructs cause a warning in ARM code and are accepted in Thumb-2 code. If you omit this option, the behavior is equivalent to
- This option specifies that the output generated by the assembler should be marked as supporting the indicated version of the Arm Procedure. Calling Standard.
- This option specifies that the output generated by the assembler should be marked as supporting the Arm/Thumb Procedure Calling Standard. If enabled this option will cause the assembler to create an empty debugging section in the object file called .arm.atpcs. Debuggers can use this to determine the ABI being used by.
- This indicates the floating point variant of the APCS should be used. In this variant floating point arguments are passed in FP registers rather than integer registers.
- This indicates that the reentrant variant of the APCS should be used. This variant supports position independent code.
- This option specifies that the output generated by the assembler should be
marked as using specified floating point ABI.
The following values are recognized:
- This option specifies which EABI version the produced object files should
The following values are recognized:
- This option specifies that the output generated by the assembler should be marked as being encoded for a big-endian processor.
- This option specifies that the output generated by the assembler should be marked as being encoded for a little-endian processor.
- This option specifies that the output of the assembler should be marked as position-independent code (PIC).
BXinstructions in ARMv4 code. This is intended for use with the linker option of the same name.
- Enable or disable warnings about using deprecated options or features. The default is to warn.