[llvm-branch-commits] [lld] release/22.x: [LLD] [COFF] Fix handling of immediates in ARM64_SECREL_HIGH12A (#200060) (PR #200128)
Martin Storsjö via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu May 28 01:23:40 PDT 2026
mstorsjo wrote:
So, for the release managers: This is a correctness fix, making LLD correctly link an unusual combination of relocation and offset - which seem to impact Zig. The fact that this bug existed led others into attempting incorrect fixes and misunderstanding how this relocation should work, in https://github.com/llvm/llvm-project/issues/199581 and https://github.com/llvm/llvm-project/pull/199602.
It should be mostly safe, as the old behaviour was plain wrong, but everybody have been hitting the correctly working case with offset zero so far - which the change doesn't affect. The scope of the change is limited to COFF/ARM64.
https://github.com/llvm/llvm-project/pull/200128
More information about the llvm-branch-commits
mailing list