Skip to content

Commit 1e43257

Browse files
authored
Fix typo
Remove the number of FP ABI flags from the explanation.
1 parent 5675bc5 commit 1e43257

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

riscv-elf.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -425,12 +425,12 @@ rules about 2✕XLEN aligned arguments being passed in "aligned" register pairs.
425425
* EF_RISCV_FLOAT_ABI_SOFT (0x0000)
426426
* EF_RISCV_FLOAT_ABI_SINGLE (0x0002)
427427
* EF_RISCV_FLOAT_ABI_DOUBLE (0x0004)
428-
* EF_RISCV_FLOAT_ABI_QUAD (0x0006): These three flags identify the floating
429-
point ABI in use for this ELF file. They store the largest floating-point
430-
type that ends up in registers as part of the ABI (but do not control if
431-
code generation is allowed to use floating-point internally). The rule is
432-
that if you have a floating-point type in a register, then you also have
433-
all smaller floating-point types in registers. For example _DOUBLE would
428+
* EF_RISCV_FLOAT_ABI_QUAD (0x0006): These flags identify the floating point
429+
ABI in use for this ELF file. They store the largest floating-point type
430+
that ends up in registers as part of the ABI (but do not control if code
431+
generation is allowed to use floating-point internally). The rule is that
432+
if you have a floating-point type in a register, then you also have all
433+
smaller floating-point types in registers. For example _DOUBLE would
434434
store "float" and "double" values in F registers, but would not store "long
435435
double" values in F registers. If none of the float ABI flags are set, the
436436
object is taken to use the soft-float ABI.

0 commit comments

Comments
 (0)