as: AArch64 Options
1
1 9.1.1 Options
1 -------------
1
1 '-EB'
1 This option specifies that the output generated by the assembler
1 should be marked as being encoded for a big-endian processor.
1
1 '-EL'
1 This option specifies that the output generated by the assembler
1 should be marked as being encoded for a little-endian processor.
1
1 '-mabi=ABI'
1 Specify which ABI the source code uses. The recognized arguments
1 are: 'ilp32' and 'lp64', which decides the generated object file in
1 ELF32 and ELF64 format respectively. The default is 'lp64'.
1
1 '-mcpu=PROCESSOR[+EXTENSION...]'
1 This option specifies the target processor. The assembler will
1 issue an error message if an attempt is made to assemble an
1 instruction which will not execute on the target processor. The
1 following processor names are recognized: 'cortex-a35',
1 'cortex-a53', 'cortex-a55', 'cortex-a57', 'cortex-a72',
1 'cortex-a73', 'cortex-a75', 'exynos-m1', 'falkor', 'qdf24xx',
1 'saphira', 'thunderx', 'vulcan', 'xgene1' and 'xgene2'. The
1 special name 'all' may be used to allow the assembler to accept
1 instructions valid for any supported processor, including all
1 optional extensions.
1
1 In addition to the basic instruction set, the assembler can be told
1 to accept, or restrict, various extension mnemonics that extend the
1 processor. ⇒AArch64 Extensions.
1
1 If some implementations of a particular processor can have an
1 extension, then then those extensions are automatically enabled.
1 Consequently, you will not normally have to specify any additional
1 extensions.
1
1 '-march=ARCHITECTURE[+EXTENSION...]'
1 This option specifies the target architecture. The assembler will
1 issue an error message if an attempt is made to assemble an
1 instruction which will not execute on the target architecture. The
1 following architecture names are recognized: 'armv8-a',
1 'armv8.1-a', 'armv8.2-a', 'armv8.3-a' and 'armv8.4-a'.
1
1 If both '-mcpu' and '-march' are specified, the assembler will use
1 the setting for '-mcpu'. If neither are specified, the assembler
1 will default to '-mcpu=all'.
1
1 The architecture option can be extended with the same instruction
1 set extension options as the '-mcpu' option. Unlike '-mcpu',
11 extensions are not always enabled by default, ⇒AArch64
Extensions.
1
1 '-mverbose-error'
1 This option enables verbose error messages for AArch64 gas. This
1 option is enabled by default.
1
1 '-mno-verbose-error'
1 This option disables verbose error messages in AArch64 gas.
1