1
1
mirror of https://github.com/rui314/mold.git synced 2025-01-07 18:02:15 +03:00
This commit is contained in:
Rui Ueyama 2021-01-29 19:01:23 +09:00
parent 95bc50928e
commit 450743d05b

2
icf.cc
View File

@ -358,7 +358,7 @@ void icf_sections() {
InputSection *isec = sym->input_section; InputSection *isec = sym->input_section;
if (isec && isec->leader && isec->leader != isec) { if (isec && isec->leader && isec->leader != isec) {
sym->input_section = isec->leader; sym->input_section = isec->leader;
sym->input_section->kill(); isec->kill();
} }
} }
}); });