@@ -80,18 +80,24 @@ conventional to give a string such as `rv32g+firstext+secondext`.
8080RISC-V compilers support the following ABIs, which can be specified using
8181` -mabi ` :
8282
83- * ` ilp32 ` : int, long, pointers are 32-bit. GPRs and the stack are used for
84- parameter passing.
85- * ` ilp32f ` : int, long, pointers are 32-bit. GPRs, 32-bit FPRs, and the stack
86- are used for parameter passing.
87- * ` ilp32d ` : int, long, pointers are 32-bit. GPRs, 64-bit FPRs and the stack
88- are used for parameter passing.
89- * ` lp64 ` : long, pointers are 64-bit. GPRs and the the stack are used for
90- parameter passing.
91- * ` lp64f ` : long, pointers are 64-bit. GPRs, 32-bit FPRs, and the stack are
92- used for parameter passing.
93- * ` lp64d ` : long, pointers are 64-bit. GPRs, 64-bit FPRs, and the stack are
94- used for parameter passing.
83+ * [ ` ilp32 ` ] ( https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc#abi-ilp32 ) :
84+ int, long, pointers are 32-bit. GPRs and the stack are used for
85+ parameter passing.
86+ * [ ` ilp32f ` ] ( https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc#abi-ilp32f ) :
87+ int, long, pointers are 32-bit. GPRs, 32-bit FPRs, and the stack are
88+ used for parameter passing.
89+ * [ ` ilp32d ` ] ( https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc#abi-ilp32d ) :
90+ int, long, pointers are 32-bit. GPRs, 64-bit FPRs and the stack are
91+ used for parameter passing.
92+ * [ ` lp64 ` ] ( https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc#abi-lp64 ) :
93+ long, pointers are 64-bit. GPRs and the the stack are used for
94+ parameter passing.
95+ * [ ` lp64f ` ] ( https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc#abi-lp64f ) :
96+ long, pointers are 64-bit. GPRs, 32-bit FPRs, and the stack are used for
97+ parameter passing.
98+ * [ ` lp64d ` ] ( https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc#abi-lp64d ) :
99+ long, pointers are 64-bit. GPRs, 64-bit FPRs, and the stack are used for
100+ parameter passing.
95101
96102See the [ RISC-V ELF
97103psABI] ( https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc )
0 commit comments