as: CRIS-Symbols
9.8.3 Symbols
-------------
Some symbols are defined by the assembler. They're intended to be used
in conditional assembly, for example:
.if ..asm.arch.cris.v32
CODE FOR CRIS V32
.elseif ..asm.arch.cris.common_v10_v32
CODE COMMON TO CRIS V32 AND CRIS V10
.elseif ..asm.arch.cris.v10 | ..asm.arch.cris.any_v0_v10
CODE FOR V10
.else
.error "Code needs to be added here."
.endif
These symbols are defined in the assembler, reflecting command-line
options, either when specified or the default. They are always defined,
to 0 or 1.
'..asm.arch.cris.any_v0_v10'
This symbol is non-zero when '--march=v0_v10' is specified or the
default.
'..asm.arch.cris.common_v10_v32'
Set according to the option '--march=common_v10_v32'.
'..asm.arch.cris.v10'
Reflects the option '--march=v10'.
'..asm.arch.cris.v32'
Corresponds to '--march=v10'.
Speaking of symbols, when a symbol is used in code, it can have a
suffix modifying its value for use in position-independent code.
CRIS-Pic.