codeplaysoftware / oneapi-construction-kit

Other
68 stars 30 forks source link

[host] Add support for R_RISCV_PCREL_LO12_S. #460

Closed hvdijk closed 4 months ago

hvdijk commented 4 months ago

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