Commit | Line | Data |
---|---|---|
2571583a | 1 | @c Copyright (C) 2016-2017 Free Software Foundation, Inc. |
e23eba97 NC |
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 | |
4f7eddc4 | 18 | * RISC-V-Opts:: RISC-V Options |
e23eba97 NC |
19 | @end menu |
20 | ||
4f7eddc4 | 21 | @node RISC-V-Opts |
e23eba97 NC |
22 | @section Options |
23 | ||
33eaf5de | 24 | The following table lists all available RISC-V specific options |
e23eba97 NC |
25 | |
26 | @c man begin OPTIONS | |
27 | @table @gcctabopt | |
e23eba97 | 28 | |
19683c04 PD |
29 | @cindex @samp{-fpic} option, RISC-V |
30 | @item -fpic | |
31 | Generate position-independent code | |
32 | ||
33 | @cindex @samp{-fno-pic} option, RISC-V | |
34 | @item -fno-pic | |
35 | Don't generate position-independent code (default) | |
36 | ||
4f7eddc4 PD |
37 | @cindex @samp{-march=ISA} option, RISC-V |
38 | @item -march=ISA | |
2922d21d AW |
39 | Select the base isa, as specified by ISA. For example -march=rv32ima. |
40 | ||
41 | @cindex @samp{-mabi=ABI} option, RISC-V | |
42 | @item -mabi=ABI | |
43 | Selects the ABI, which is either "ilp32" or "lp64", optionally followed | |
44 | by "f", "d", or "q" to indicate single-precision, double-precision, or | |
45 | quad-precision floating-point calling convention, or none to indicate | |
46 | the soft-float calling convention. | |
e23eba97 NC |
47 | |
48 | @end table | |
49 | @c man end |