authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-05-27 14:45:32+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-05-28 09:03:10+01:00
logf60fe4dcb667cc638f4f8ea8fb20d11de3440671
tree6b506aec8f24b2bbd7afbb7eaf4ac15da0580ae3
parentb12c0de096b22b1ce17c73c466b645ed0631e818
signaturelock-open Commit is signed but in an unrecognized format.

Elf2: immediately clear unnecessary changed_symbol_index entries


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

src/link/Elf2.zig+1-1
......@@ -5669,7 +5669,7 @@ pub fn idle(elf: *Elf, tid: Zcu.PerThread.Id) !bool {
56695669 };
56705670 break :task;
56715671 }
5672 if (elf.changed_symtab_index.pop()) |kv| {
5672 while (elf.changed_symtab_index.pop()) |kv| {
56735673 // We only need to do work in relocatables, because in ELF modules (non-relocatables)
56745674 // our `ElfN.Rela` entries use `.dynsym` indices rather than `.symtab` indices, and
56755675 // `.dynsym` indices are (at the time of writing) always immutable.