aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_hash_map.zig
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2020-10-27 16:43:27 +0100
committerAndrew Kelley <andrew@ziglang.org>2020-10-29 14:38:48 -0400
commitad6e095ef676ab50799a49eb40419b1ff926e6d7 (patch)
tree73b1ab2059c70a6c48e152aa9f1ee2eb778c322b /lib/std/array_hash_map.zig
parent4fb896f16ebdc9dc6a04a522550524613d467dae (diff)
downloadzig-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