From 450743d05bb059eed7afe43e057cccba2d4f7759 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 29 Jan 2021 19:01:23 +0900 Subject: [PATCH] wip --- icf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icf.cc b/icf.cc index b2fac80e..b59bcd83 100644 --- a/icf.cc +++ b/icf.cc @@ -358,7 +358,7 @@ void icf_sections() { InputSection *isec = sym->input_section; if (isec && isec->leader && isec->leader != isec) { sym->input_section = isec->leader; - sym->input_section->kill(); + isec->kill(); } } });