From 46872f5f2d4765868667a344c95c6f962db348ca Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Tue, 17 Nov 2020 00:08:53 +0900 Subject: [PATCH] temporary --- output_chunks.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output_chunks.cc b/output_chunks.cc index 6e9e5765..30496e5d 100644 --- a/output_chunks.cc +++ b/output_chunks.cc @@ -171,8 +171,8 @@ void HashSection::copy_to(u8 *buf) { u8 *base = buf + shdr.sh_offset; memset(base, 0, shdr.sh_size); - u32 *hdr = (u32 *)base; int num_slots = out::dynsym->symbols.size() + 1; + u32 *hdr = (u32 *)base; u32 *buckets = (u32 *)(base + 8); u32 *chains = buckets + num_slots;