Skip to content

Commit 0b29ed3

Browse files
authored
Fix typo
Fix the calculation of `R_RISCV_RVC_LUI`.
1 parent 35bd320 commit 0b29ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv-elf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ Enum | ELF Reloc Type | Description | Field | C
513513
43 | R_RISCV_ALIGN | Alignment statement |
514514
44 | R_RISCV_RVC_BRANCH | PC-relative branch offset | _CB-Type_ | S + A - P
515515
45 | R_RISCV_RVC_JUMP | PC-relative jump offset | _CJ-Type_ | S + A - P
516-
46 | R_RISCV_RVC_LUI | Absolute address | _CI-Type_ | S + A - P
516+
46 | R_RISCV_RVC_LUI | Absolute address | _CI-Type_ | S + A
517517
47 | R_RISCV_GPREL_I | GP-relative reference | _I-Type_ | S + A - GP
518518
48 | R_RISCV_GPREL_S | GP-relative reference | _S-Type_ | S + A - GP
519519
49 | R_RISCV_TPREL_I | TP-relative TLS LE load | _I-Type_

0 commit comments

Comments
 (0)