Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add R_RISCV_SET_ULEB128 and R_RISCV_SUB_ULEB128. #162

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion riscv-elf.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down