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 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 24The following table lists all availiable RISC-V specific options 25 26@c man begin OPTIONS 27@table @gcctabopt 28 29@cindex @samp{-fpic} option, RISC-V 30@item -fpic 31Generate position-independent code 32 33@cindex @samp{-fno-pic} option, RISC-V 34@item -fno-pic 35Don't generate position-independent code (default) 36 37@cindex @samp{-march=ISA} option, RISC-V 38@item -march=ISA 39Select the base isa, as specified by ISA. For example -march=rv32ima. 40 41@cindex @samp{-mabi=ABI} option, RISC-V 42@item -mabi=ABI 43Selects the ABI, which is either "ilp32" or "lp64", optionally followed 44by "f", "d", or "q" to indicate single-precision, double-precision, or 45quad-precision floating-point calling convention, or none to indicate 46the soft-float calling convention. 47 48@end table 49@c man end 50