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