1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-28 02:44:48 +03:00
This commit is contained in:
Rui Ueyama 2021-03-19 13:26:27 +09:00
parent 573456a54e
commit c2264a9291

View File

@ -765,7 +765,7 @@ static void fill_verneed() {
out::verneed->contents.resize((sizeof(ElfVerneed) + sizeof(ElfVernaux)) * out::verneed->contents.resize((sizeof(ElfVerneed) + sizeof(ElfVernaux)) *
syms.size()); syms.size());
// Fill .gnu.versoin_r. // Fill .gnu.version_r.
u8 *buf = (u8 *)&out::verneed->contents[0]; u8 *buf = (u8 *)&out::verneed->contents[0];
u8 *ptr = buf; u8 *ptr = buf;
ElfVerneed *verneed = nullptr; ElfVerneed *verneed = nullptr;