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. #124

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
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
6 changes: 4 additions & 2 deletions riscv-elf.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,9 @@ Enum | ELF Reloc Type | Description | Details
55 | R_RISCV_SET16 | Local label subtraction |
56 | R_RISCV_SET32 | Local label subtraction |
57 | R_RISCV_32_PCREL | PC-relative reference | word32 = S + A - PC
58-191 | *Reserved* | Reserved for future standard use |
58 | R_RISCV_SET_ULEB128 | Local label subtraction | uleb128 = S + A
59 | R_RISCV_SUB_ULEB128 | Local label subtraction | uleb128 = old - S - A
60-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 Expand Up @@ -904,4 +906,4 @@ wint_t | 4 | 4
The following definitions apply for all ABIs defined in this document. Here
there is no differentiation between ILP32 and LP64 abis.

`wchar_t` is signed. `wint_t` is unsigned.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't actually figure out what the diff is here, but presumably it's accidental.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a "newline at the end of file" change, I think. Either adding or removing it.

`wchar_t` is signed. `wint_t` is unsigned.