Skip to content

Commit

Permalink
Fix wrong calculation for R_RISCV_SUB_ULEB128
Browse files Browse the repository at this point in the history
  • Loading branch information
kito-cheng committed Mar 30, 2023
1 parent 4b4fb6a commit 4f7de69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv-elf.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ Description:: Additional information about the relocation
.2+| 60 .2+| SET_ULEB128 .2+| Static | _ULEB128_ .2+| Local label assignment <<uleb128-note,*note>>
<| S + A
.2+| 61 .2+| SUB_ULEB128 .2+| Static | _ULEB128_ .2+| Local label subtraction <<uleb128-note,*note>>
<| V - S + A
<| V - S - A
.2+| 62-191 .2+| *Reserved* .2+| - | .2+| Reserved for future standard use
<|
.2+| 192-255 .2+| *Reserved* .2+| - | .2+| Reserved for nonstandard ABI extensions
Expand Down

0 comments on commit 4f7de69

Please sign in to comment.