From c33b3d19c93306c6aef86bd10dcbf248de7fc9e4 Mon Sep 17 00:00:00 2001 From: Kuan-Lin Chen Date: Fri, 25 Sep 2020 15:46:22 +0800 Subject: [PATCH] Add R_RISCV_SET_ULEB128 and R_RISCV_SUB_ULEB128. --- riscv-elf.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/riscv-elf.md b/riscv-elf.md index e06853e1..00d24af1 100644 --- a/riscv-elf.md +++ b/riscv-elf.md @@ -566,7 +566,9 @@ Enum | ELF Reloc Type | Description | Field | C 56 | R_RISCV_SET32 | Local label assignment | _word32_ | S + A 57 | R_RISCV_32_PCREL | PC-relative reference | _word32_ | S + A - P 58 | R_RISCV_IRELATIVE | Runtime relocation | _wordclass_ | `ifunc_resolver(B + A)` -59-191 | *Reserved* | Reserved for future standard use +59 | R_RISCV_SET_ULEB128 | Local label subtraction | uleb128 = S + A +60 | R_RISCV_SUB_ULEB128 | Local label subtraction | uleb128 = old - S - A +61-191 | *Reserved* | Reserved for future standard use 192-255 | *Reserved* | Reserved for nonstandard ABI extensions Nonstandard extensions are free to use relocation numbers 192-255 for any