authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-08-13 20:52:14+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-08-16 10:37:19+01:00
log67e525d546ec87000bc1148de61916abcf1d91fb
tree66b41a9eb8afb7d5658c77ab6cb50b49276237c1
parent73a65674e4d464c2588eb752da0aa4869c671c0a
signaturelock-open Commit is signed but in an unrecognized format.

Elf2: fix typo in relocation logic


1 files changed, 1 insertions(+), 1 deletions(-)

src/link/Elf2.zig+1-1
...@@ -1370,7 +1370,7 @@ const SymbolReloc = struct {...@@ -1370,7 +1370,7 @@ const SymbolReloc = struct {
1370 const shift: u6, const shift_exact: bool = switch (s.shift) {1370 const shift: u6, const shift_exact: bool = switch (s.shift) {
1371 .@"0" => .{ 0, false },1371 .@"0" => .{ 0, false },
1372 .@"2_exact" => .{ 2, true },1372 .@"2_exact" => .{ 2, true },
1373 .@"10" => .{ 10, true },1373 .@"10" => .{ 10, false },
1374 .@"12" => .{ 12, false },1374 .@"12" => .{ 12, false },
1375 .@"22" => .{ 22, false },1375 .@"22" => .{ 22, false },
1376 .@"32" => .{ 32, false },1376 .@"32" => .{ 32, false },