Re-work RISC-V gas flags: now we just support -mabi and -march
[external/binutils.git] / gas / doc / c-riscv.texi
1 @c Copyright (C) 2016 Free Software Foundation, Inc.
2 @c This is part of the GAS anual.
3 @c For copying conditions, see the file as.texinfo
4 @c man end
5
6 @ifset GENERIC
7 @page
8 @node RISC-V-Dependent
9 @chapter RISC-V Dependent Features
10 @end ifset
11 @ifclear GENERIC
12 @node Machine Dependencies
13 @chapter RISC-V Dependent Features
14 @end ifclear
15
16 @cindex RISC-V support
17 @menu
18 * RISC-V-Opts::      RISC-V Options
19 @end menu
20
21 @node RISC-V-Opts
22 @section Options
23
24 The following table lists all availiable RISC-V specific options
25
26 @c man begin OPTIONS
27 @table @gcctabopt
28
29 @cindex @samp{-march=ISA} option, RISC-V
30 @item -march=ISA
31 Select the base isa, as specified by ISA.  For example -march=rv32ima.
32
33 @cindex @samp{-mabi=ABI} option, RISC-V
34 @item -mabi=ABI
35 Selects the ABI, which is either "ilp32" or "lp64", optionally followed
36 by "f", "d", or "q" to indicate single-precision, double-precision, or
37 quad-precision floating-point calling convention, or none to indicate
38 the soft-float calling convention.
39
40 @end table
41 @c man end