1 @c Copyright (C) 2016-2017 Free Software Foundation, Inc.
2 @c This is part of the GAS anual.
3 @c For copying conditions, see the file as.texinfo
9 @chapter RISC-V Dependent Features
12 @node Machine Dependencies
13 @chapter RISC-V Dependent Features
16 @cindex RISC-V support
18 * RISC-V-Opts:: RISC-V Options
24 The following table lists all available RISC-V specific options
29 @cindex @samp{-fpic} option, RISC-V
31 Generate position-independent code
33 @cindex @samp{-fno-pic} option, RISC-V
35 Don't generate position-independent code (default)
37 @cindex @samp{-march=ISA} option, RISC-V
39 Select the base isa, as specified by ISA. For example -march=rv32ima.
41 @cindex @samp{-mabi=ABI} option, RISC-V
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.