diff options
| author | Timon Kruiper <timonkruiper@gmail.com> | 2020-10-27 16:43:27 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-10-29 14:38:48 -0400 |
| commit | ad6e095ef676ab50799a49eb40419b1ff926e6d7 (patch) | |
| tree | 73b1ab2059c70a6c48e152aa9f1ee2eb778c322b /lib/std/array_hash_map.zig | |
| parent | 4fb896f16ebdc9dc6a04a522550524613d467dae (diff) | |
| download | zig-ad6e095ef676ab50799a49eb40419b1ff926e6d7.tar.gz zig-ad6e095ef676ab50799a49eb40419b1ff926e6d7.zip | |
stage2.Elf: fix off by one error in writeOffsetTableEntry
The code was using the length of the local symbols, which also
includes the null symbol. Fix this by using the offset table instead,
which only keeps track of the symbols that end up in the got.
Diffstat (limited to 'lib/std/array_hash_map.zig')
0 files changed, 0 insertions, 0 deletions
