llvm-project
[lld][LoongArch] Check that the relocation addend is zero before applying relaxation to R_LARCH_GOT_PC_{HI20,LO12}
#151264
Merged

[lld][LoongArch] Check that the relocation addend is zero before applying relaxation to R_LARCH_GOT_PC_{HI20,LO12} #151264

ylzsx merged 2 commits into llvm:main from ylzsx:fix-got-addend
ylzsx
ylzsx [lld][LoongArch] Fix relaxation for R_LARCH_GOT_PC_{HI20,LO12}
3a3dd03b
ylzsx ylzsx requested a review from SixWeining SixWeining 211 days ago
llvmbot llvmbot added lld
llvmbot llvmbot added lld:ELF
ylzsx ylzsx added backend:loongarch
llvmbot
llvmbot
SixWeining
SixWeining commented on 2025-07-30
ylzsx fixes for reviews.
74b94154
SixWeining SixWeining changed the title [lld][LoongArch] Fix relaxation for R_LARCH_GOT_PC_{HI20,LO12} [lld][LoongArch] Check that the relocation addend is zero before applying linker relaxation to R_LARCH_GOT_PC_{HI20,LO12} 211 days ago
SixWeining SixWeining changed the title [lld][LoongArch] Check that the relocation addend is zero before applying linker relaxation to R_LARCH_GOT_PC_{HI20,LO12} [lld][LoongArch] Check that the relocation addend is zero before applying relaxation to R_LARCH_GOT_PC_{HI20,LO12} 211 days ago
SixWeining
SixWeining approved these changes on 2025-07-30
ylzsx ylzsx merged 4ec8503e into main 211 days ago
ylzsx
ylzsx ylzsx deleted the fix-got-addend branch 210 days ago
llvmbot
ylzsx ylzsx added this to the LLVM 21.x Release milestone 210 days ago
ylzsx
llvmbot

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone