mirror of
https://github.com/rui314/mold.git
synced 2024-12-28 19:04:27 +03:00
temporary
This commit is contained in:
parent
6608bf3d5e
commit
46872f5f2d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user