This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Write R_RISCV_IRELATIVE addends with -z rel
ClosedPublic

Authored by arichardson on Apr 28 2021, 6:58 AM.

Details

Summary

I found this missing case with the new --check-dynamic-relocation flag
while running the lld tests with --apply-dynamic-relocs enabled by default.

This is the same as D101452 just for RISC-V

Diff Detail

Event Timeline

arichardson created this revision.Apr 28 2021, 6:58 AM
arichardson requested review of this revision.Apr 28 2021, 6:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 28 2021, 6:58 AM
MaskRay accepted this revision.Apr 28 2021, 4:25 PM

LGTM.

This revision is now accepted and ready to land.Apr 28 2021, 4:25 PM
This revision was automatically updated to reflect the committed changes.