These command-line options are defined for RISC-V targets:
-mbranch-cost=
n-mplt
-mno-plt
-mabi=
ABI-stringThe default for this argument is system dependent, users who want a specific
calling convention should specify one explicitly. The valid calling
conventions are: ‘ilp32’, ‘ilp32f’, ‘ilp32d’, ‘lp64’,
‘lp64f’, and ‘lp64d’. Some calling conventions are impossible to
implement on some ISAs: for example, ‘-march=rv32if -mabi=ilp32d’ is
invalid because the ABI requires 64-bit values be passed in F registers, but F
registers are only 32 bits wide.
-mfdiv
-mno-fdiv
-mdiv
-mno-div
-march=
ISA-string-mtune=
processor-string-mpreferred-stack-boundary=
numWarning: If you use this switch, then you must build all modules with
the same value, including any libraries. This includes the system libraries
and startup modules.
-msmall-data-limit=
n-msave-restore
-mno-save-restore
-mstrict-align
-mno-strict-align
-mcmodel=medlow
-mcmodel=medany
-mexplicit-relocs
-mno-exlicit-relocs
-mrelax
-mno-relax