@@ -417,15 +417,15 @@ rules about 2✕XLEN aligned arguments being passed in "aligned" register pairs.
417417 RVC | Float ABI | RVE | TSO | * Reserved*
418418
419419
420- * EF_RISCV_RVC (` e_flags & 0x1 ` ): This bit is set when the binary targets the C ABI,
420+ * EF_RISCV_RVC (0x0001 ): This bit is set when the binary targets the C ABI,
421421 which allows instructions to be aligned to 16-bit boundaries (the base RV32
422422 and RV64 ISAs only allow 32-bit instruction alignment). When linking
423423 objects which specify EF_RISCV_RVC, the linker is permitted to use RVC
424424 instructions such as C.JAL in the relaxation process.
425- * EF_RISCV_FLOAT_ABI_SOFT (` (e_flags & 0x6) == 0x0) ` )
426- * EF_RISCV_FLOAT_ABI_SINGLE (` (e_flags & 0x6) == 0x2) ` )
427- * EF_RISCV_FLOAT_ABI_DOUBLE (` (e_flags & 0x6) == 0x4) ` )
428- * EF_RISCV_FLOAT_ABI_QUAD (` (e_flags & 0x6) == 0x6) ` ): These flags identify the floating point
425+ * EF_RISCV_FLOAT_ABI_SOFT (0x0000 )
426+ * EF_RISCV_FLOAT_ABI_SINGLE (0x0002 )
427+ * EF_RISCV_FLOAT_ABI_DOUBLE (0x0004 )
428+ * EF_RISCV_FLOAT_ABI_QUAD (0x0006 ): These flags identify the floating point
429429 ABI in use for this ELF file. They store the largest floating-point type
430430 that ends up in registers as part of the ABI (but do not control if code
431431 generation is allowed to use floating-point internally). The rule is that
@@ -434,8 +434,8 @@ rules about 2✕XLEN aligned arguments being passed in "aligned" register pairs.
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.
437- * EF_RISCV_RVE (` e_flags & 0x8 ` ): This bit is set when the binary targets the E ABI.
438- * EF_RISCV_TSO (` e_flags & 0x10 ` ): This bit is set when the binary requires the RVTSO
437+ * EF_RISCV_RVE (0x0008 ): This bit is set when the binary targets the E ABI.
438+ * EF_RISCV_TSO (0x0010 ): This bit is set when the binary requires the RVTSO
439439 memory consistency model.
440440
441441 Until such a time that the * Reserved* bits (0xffffffe0) are allocated by
0 commit comments