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

[host] Add support for R_RISCV_PCREL_LO12_S. #460

Merged
merged 1 commit into from
May 17, 2024

Conversation

hvdijk
Copy link
Collaborator

@hvdijk hvdijk commented May 17, 2024

Overview

[host] Add support for R_RISCV_PCREL_LO12_S.

Reason for change

Describe how the current behaviour of the project is causing problems for you
or is otherwise unsatisfactory for your use case.

Description of change

R_RISCV_PCREL_LO12_S is like R_RISCV_PCREL_LO12_I, except for S-type instructions rather than I-type instructions, so the handling is mostly identical.

Anything else we should know?

If there's any other relevant information we should know that may help us in
understanding and verifying your patch, please include it here.

Checklist

  • Read and follow the project Code of Conduct.
  • Make sure the project builds successfully with your changes.
  • Run relevant testing locally to avoid regressions.
  • Run clang-format-17 on all modified code.

R_RISCV_PCREL_LO12_S is like R_RISCV_PCREL_LO12_I, except for S-type
instructions rather than I-type instructions, so the handling is mostly
identical.
@hvdijk hvdijk merged commit e3d6940 into codeplaysoftware:main May 17, 2024
3 checks passed
@hvdijk hvdijk deleted the reloc-riscv-pcrel-lo12-s branch May 17, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants