Skip to content

Commit 793c1cb

Browse files
committed
Add links to RISC-V ELF psABI documentation
ABI names are linked to corresponding RISC-V ELF psABI documentation.
1 parent 42391a9 commit 793c1cb

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

README.mkd

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,24 @@ conventional to give a string such as `rv32g+firstext+secondext`.
8080
RISC-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

96102
See the [RISC-V ELF
97103
psABI](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc)

0 commit comments

Comments
 (0)