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

[ELF][RISCV] add R_RISCV_SET32 in EhFrameSection #590

Merged
merged 1 commit into from
Jul 28, 2022
Merged

Conversation

alexfanqi
Copy link
Contributor

@alexfanqi alexfanqi commented Jul 28, 2022

Hi,

Compiling llvm and mesa with mold gives some linking errors like:

mold: fatal: unsupported relocation in .eh_frame: R_RISCV_SET32

ref: https://bugs.gentoo.org/861488

From my understanding of llvm riscv backend, it will emit R_RISCV_SET32 as part of DW_CFA_advance_loc4. So is R_RISCV_SET32 missing here or intentionally avoided for some reasons?

@rui314
Copy link
Owner

rui314 commented Jul 28, 2022

Looks good, but can you add a signed-off-by line to your commit message as explained in https://github.com/rui314/mold/blob/main/CONTRIBUTING.md?

Signed-off-by: Alex Fan <alex.fan.q@gmail.com>
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.

2 participants