From 4f7de692724302a6d239ef7ad4d818d98ac34368 Mon Sep 17 00:00:00 2001 From: Kito Cheng Date: Thu, 30 Mar 2023 17:17:02 +0800 Subject: [PATCH] Fix wrong calculation for R_RISCV_SUB_ULEB128 --- riscv-elf.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscv-elf.adoc b/riscv-elf.adoc index 4b472c04..9f1d95fd 100644 --- a/riscv-elf.adoc +++ b/riscv-elf.adoc @@ -450,7 +450,7 @@ Description:: Additional information about the relocation .2+| 60 .2+| SET_ULEB128 .2+| Static | _ULEB128_ .2+| Local label assignment <> <| S + A .2+| 61 .2+| SUB_ULEB128 .2+| Static | _ULEB128_ .2+| Local label subtraction <> - <| 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