Skip to content

Commit b7148a9

Browse files
committed
Defines Default ABIs in terms of Named ABIs
1 parent 2bd25b5 commit b7148a9

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

riscv-elf.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -294,16 +294,13 @@ While various different ABIs are technically possible, for software
294294
compatibility reasons it is strongly recommended to use the following
295295
default ABIs for specific architectures:
296296

297-
* **on RV64G**: LP64D, with floats and doubles passed in floating point
298-
registers (i.e. ELFCLASS64 and EF_RISCV_FLOAT_ABI_DOUBLE).
297+
* **on RV64G**: [LP64D](#abi-lp64d)
299298

300-
Although RV64GQ systems can technically use EF_RISCV_FLOAT_ABI_QUAD,
301-
it is strongly recommended to use EF_RISCV_FLOAT_ABI_DOUBLE on
302-
general-purpose RV64GQ systems for compatibility with standard RV64G
303-
software.
299+
Although RV64GQ systems can technically use [LP64Q](#abi-lp64q), it is
300+
strongly recommended to use LP64D on general-purpose RV64GQ systems for
301+
compatibility with standard RV64G software.
304302

305-
* **on RV32G**: ILP32D, with floats and doubles passed in floating point
306-
registers (i.e. ELFCLASS32 and EF_RISCV_FLOAT_ABI_DOUBLE).
303+
* **on RV32G**: [ILP32D](#abi-ilp32d)
307304

308305
# <a name=c-types></a> C type details
309306
## <a name=c-type-sizes></a> C type sizes and alignments

0 commit comments

Comments
 (0)